From cbe38c92ce4fa658ac693e4fbad6e2759aca243c Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Mon, 21 Jan 2013 05:54:07 +0100 Subject: [PATCH] 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. --- Frameworks/Preferences/src/FilesPreferences.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/Preferences/src/FilesPreferences.mm b/Frameworks/Preferences/src/FilesPreferences.mm index 8a3a31eb..8ac06c52 100644 --- a/Frameworks/Preferences/src/FilesPreferences.mm +++ b/Frameworks/Preferences/src/FilesPreferences.mm @@ -63,6 +63,7 @@ } } + encodingPopUp.encoding = [self valueForKey:@"encoding"]; [self bind:@"encoding" toObject:encodingPopUp withKeyPath:@"encoding" options:nil]; } @end