更新设置加载位置
This commit is contained in:
1 parent
5003ea93f8
commit
f7c1d7967b
2 files changed
+7
-4
No files matched your search
@@ -35,9 +35,7 @@ public partial class SettingsView : Window
|
||||
}
|
||||
private void SettingsView_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var setting = NaiBa.Util.Helper.ConfigHelper.LoadConfig<SettingConfig>(SettingViewModel.SettingFileName);
|
||||
if (setting == null) setting = new SettingConfig();
|
||||
vm.Assign(setting);
|
||||
vm.Assign(BaseClass.Setting);
|
||||
}
|
||||
private void SettingsView_Closed(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user