|
@@ -96,6 +96,7 @@ namespace PixiEditor.ViewModels.SubViewModels.Main
|
|
|
if (ActiveTool != null)
|
|
|
{
|
|
|
activeTool.IsActive = false;
|
|
|
+ ActiveTool.Toolbar.SaveToolbarSettings();
|
|
|
}
|
|
|
|
|
|
LastActionTool = ActiveTool;
|
|
@@ -103,6 +104,9 @@ namespace PixiEditor.ViewModels.SubViewModels.Main
|
|
|
|
|
|
ActiveTool = tool;
|
|
|
|
|
|
+ ActiveTool.Toolbar.LoadSharedSettings();
|
|
|
+
|
|
|
+
|
|
|
if (LastActionTool != ActiveTool)
|
|
|
SelectedToolChanged?.Invoke(this, new SelectedToolEventArgs(LastActionTool, ActiveTool));
|
|
|
|