mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 00:46:12 +02:00
Make sure newly created layout gets loaded
This commit is contained in:
@@ -166,6 +166,7 @@ public partial class MainPage : Page
|
||||
_manager.Settings.Layouts.Add(new Layout(inputDialog.ResponseText.Trim()));
|
||||
_manager.Settings.CurrentLayoutName = inputDialog.ResponseText.Trim();
|
||||
_manager.SaveSettings();
|
||||
_manager.LoadLayout(false);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -188,7 +189,7 @@ public partial class MainPage : Page
|
||||
return;
|
||||
}
|
||||
|
||||
var messageBox = new Wpf.Ui.Controls.MessageBox
|
||||
Wpf.Ui.Controls.MessageBox messageBox = new Wpf.Ui.Controls.MessageBox
|
||||
{
|
||||
Title = App.AppName,
|
||||
Content = (string)FindResource("confirmDeleteLayout"),
|
||||
|
||||
Reference in New Issue
Block a user