Initialize encoding pop-up (Preferences)

Previously this would always show UTF-8 and cause an existing setting to be overwritten (with UTF-8) when bringing up the preferences window.
This commit is contained in:
Allan Odgaard
2013-01-21 05:54:07 +01:00
parent 564571ab8b
commit cbe38c92ce

View File

@@ -63,6 +63,7 @@
}
}
encodingPopUp.encoding = [self valueForKey:@"encoding"];
[self bind:@"encoding" toObject:encodingPopUp withKeyPath:@"encoding" options:nil];
}
@end