summaryrefslogtreecommitdiff
path: root/libs/pbd3
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-01-08 05:19:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-01-08 05:19:38 +0000
commitd20534e846dbbf3b039903e94741f38c9b238a9a (patch)
tree2985b07a49c91be044af0f26bb77ebd2ecceae85 /libs/pbd3
parenta20f41ab39cc034740ccd564c1057d8737d763d5 (diff)
add destructive outlines, more action usage and state fixups in GUI
git-svn-id: svn://localhost/trunk/ardour2@247 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd3')
-rw-r--r--libs/pbd3/undo.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/pbd3/undo.cc b/libs/pbd3/undo.cc
index 482cb5cf37..0af1cc2e7a 100644
--- a/libs/pbd3/undo.cc
+++ b/libs/pbd3/undo.cc
@@ -77,7 +77,6 @@ UndoCommand::clear ()
void
UndoCommand::undo ()
{
- cerr << "There are " << undo_actions.size() << " actions to undo\n";
for (list<UndoAction>::reverse_iterator i = undo_actions.rbegin(); i != undo_actions.rend(); ++i) {
(*i)();
}
@@ -100,14 +99,12 @@ UndoHistory::add (UndoCommand uc)
void
UndoHistory::undo (unsigned int n)
{
- cerr << "Undo history undoing " << n << " with a list of " << UndoList.size() << endl;
while (n--) {
if (UndoList.size() == 0) {
return;
}
UndoCommand uc = UndoList.back ();
UndoList.pop_back ();
- cerr << "undoing command called " << uc.name() << endl;
uc.undo ();
RedoList.push_back (uc);
}