diff base/PropertyContainer.cpp @ 47:bac8b14ab355

* Add menu for re-adding existing layers * Fix layer tree window so that it at least approximates correct * Add bundled operations in command history, for use with things like multiple consecutive changes to a parameter value * Disambiguate plugins that happen to have identical descriptions * Add spectral centroid plugin (could use some parameters!) * Some other fixes
author Chris Cannam
date Fri, 17 Mar 2006 17:38:28 +0000
parents 5364a9d338a2
children 39ae3dee27b9
line wrap: on
line diff
--- a/base/PropertyContainer.cpp	Thu Mar 16 18:46:00 2006 +0000
+++ b/base/PropertyContainer.cpp	Fri Mar 17 17:38:28 2006 +0000
@@ -57,7 +57,7 @@
     if (value == currentValue) return;
 
     CommandHistory::getInstance()->addCommand
-	(new SetPropertyCommand(this, name, value));
+	(new SetPropertyCommand(this, name, value), true, true); // bundled
 }
 
 PropertyContainer::SetPropertyCommand::SetPropertyCommand(PropertyContainer *pc,