diff --git a/src/app/commands/cmd_cel_properties.cpp b/src/app/commands/cmd_cel_properties.cpp index 70a319818..82f81f544 100644 --- a/src/app/commands/cmd_cel_properties.cpp +++ b/src/app/commands/cmd_cel_properties.cpp @@ -229,6 +229,7 @@ private: // ContextObserver impl void onActiveSiteChange(const Site& site) override { + onCommitChange(); if (isVisible()) setCel(const_cast(site.document()), const_cast(site.cel())); diff --git a/src/app/commands/cmd_layer_properties.cpp b/src/app/commands/cmd_layer_properties.cpp index 3913188fc..55731b795 100644 --- a/src/app/commands/cmd_layer_properties.cpp +++ b/src/app/commands/cmd_layer_properties.cpp @@ -286,6 +286,7 @@ private: // ContextObserver impl void onActiveSiteChange(const Site& site) override { + onCommitChange(); if (isVisible()) setLayer(const_cast(site.document()), const_cast(site.layer()));