projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b86da6
)
do not save editor state in every reversible commands
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 14:44:08 +0000
(14:44 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 14:44:08 +0000
(14:44 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6698
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 075a9399f385b8e594b347b0bd82b850a4bd6023..8053851f110692731f4559c31a0d9261bdb6d11e 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-3153,7
+3153,6
@@
void
Editor::begin_reversible_command (string name)
{
if (_session) {
- before = &get_state();
_session->begin_reversible_command (name);
}
}
@@
-3162,7
+3161,7
@@
void
Editor::commit_reversible_command ()
{
if (_session) {
- _session->commit_reversible_command (
new MementoCommand<Editor>(*this, before, &get_state())
);
+ _session->commit_reversible_command ();
}
}