mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
修复设置bug
This commit is contained in:
@@ -253,7 +253,11 @@ namespace CMLeonOS.Gui.Apps
|
||||
{
|
||||
base.Start();
|
||||
window = new AppWindow(this, 256, 256, 448, 272);
|
||||
window.Closing = TryStop;
|
||||
window.Closing = () =>
|
||||
{
|
||||
SettingsManager.FlushSettings();
|
||||
TryStop();
|
||||
};
|
||||
window.Icon = AppManager.GetAppMetadata("Settings").Icon;
|
||||
wm.AddWindow(window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user