summaryrefslogtreecommitdiff
path: root/libs/pbd/stateful_diff_command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/stateful_diff_command.cc')
-rw-r--r--libs/pbd/stateful_diff_command.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/libs/pbd/stateful_diff_command.cc b/libs/pbd/stateful_diff_command.cc
index 0468ac3e8a..635fe4829a 100644
--- a/libs/pbd/stateful_diff_command.cc
+++ b/libs/pbd/stateful_diff_command.cc
@@ -71,10 +71,7 @@ StatefulDiffCommand::operator() ()
boost::shared_ptr<Stateful> s (_object.lock());
if (s) {
- PropertyChange changed = s->set_properties (*_redo);
- if (!changed.empty()) {
- s->PropertyChanged (changed);
- }
+ s->set_properties (*_redo);
}
}
@@ -85,11 +82,7 @@ StatefulDiffCommand::undo ()
if (s) {
std::cerr << "Undoing a stateful diff command\n";
- PropertyChange changed = s->set_properties (*_undo);
- if (!changed.empty()) {
- std::cerr << "Sending changed\n";
- s->PropertyChanged (changed);
- }
+ s->set_properties (*_undo);
}
}