mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Compiles, but doesn't link. The link errors are mostly expected and are
tomorrow's task. git-svn-id: svn://localhost/ardour2/branches/undo@719 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
277b771a97
commit
1f1c4981de
30 changed files with 257 additions and 243 deletions
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <ardour/audioregion.h>
|
||||
#include <ardour/playlist.h>
|
||||
#include <pbd/memento_command.h>
|
||||
|
||||
#include "editor.h"
|
||||
#include "regionview.h"
|
||||
|
|
@ -107,7 +108,7 @@ Editor::kbd_mute_unmute_region ()
|
|||
entered_regionview->region.set_muted (!entered_regionview->region.muted());
|
||||
|
||||
XMLNode &after = entered_regionview->region.playlist()->get_state();
|
||||
session->add_command (MementoCommand<Playlist>(entered_regionview->region.playlist(), before, after));
|
||||
session->add_command (new MementoCommand<ARDOUR::Playlist>(*(entered_regionview->region.playlist()), before, after));
|
||||
commit_reversible_command();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue