diff --git a/Views/SettingsWindow.xaml.cs b/Views/SettingsWindow.xaml.cs index f2a2600..aca99b3 100644 --- a/Views/SettingsWindow.xaml.cs +++ b/Views/SettingsWindow.xaml.cs @@ -49,16 +49,16 @@ public SettingsWindow() { InitializeComponent(); + Decrypt = false; settings = new SAMSettings(); - + Loaded += SettingsWindow_Loaded; - Decrypt = false; - - InputMethodSelectBox.ItemsSource = Enum.GetValues(typeof(VirtualInputMethod)).Cast(); } private void SettingsWindow_Loaded(object sender, RoutedEventArgs e) { + InputMethodSelectBox.ItemsSource = Enum.GetValues(typeof(VirtualInputMethod)).Cast(); + if (File.Exists(SAMSettings.FILE_NAME)) { try