From 11f5539cc9a43c0407829c7949c375145d0e186e Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 26 Mar 2008 20:05:22 +0000 Subject: [PATCH] When editing more than one of ID, Description, Name, and RendDesc at once, group the actions in the history panel. git-svn-id: http://svn.voria.com/code@1925 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/canvasproperties.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/canvasproperties.cpp b/synfig-studio/trunk/src/gtkmm/canvasproperties.cpp index 45c2d90..d095331 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasproperties.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasproperties.cpp @@ -223,6 +223,8 @@ CanvasProperties::on_rend_desc_changed() void CanvasProperties::on_apply_pressed() { + synfigapp::Action::PassiveGrouper group(canvas_interface_->get_instance().get(),_("Edit Canvas Properties")); + // fetch these three values first, because each set_() method refreshes the dialog with currently set values String id = entry_id.get_text(); String name = entry_name.get_text(); -- 2.7.4