From 5d26b90276f2bcbc46af4db23d7fb714a3c6fde1 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 10 Jul 2012 18:26:08 -0300 Subject: [PATCH] Implement issue #129 - Return to frame/layer where action is undone. --- data/widgets/options.xml | 4 ++ src/commands/cmd_options.cpp | 6 +++ src/commands/cmd_redo.cpp | 24 +++++++++++- src/commands/cmd_undo.cpp | 24 +++++++++++- src/dialogs/aniedit.cpp | 34 +++------------- src/document_undo.cpp | 75 ++++++++++++++++++++++-------------- src/document_undo.h | 16 ++++++++ src/undo_transaction.cpp | 12 +++++- src/undo_transaction.h | 2 + src/undoers/close_group.cpp | 13 ++++++- src/undoers/close_group.h | 10 ++++- src/undoers/open_group.cpp | 9 ++++- src/undoers/open_group.h | 10 +++-- 13 files changed, 168 insertions(+), 71 deletions(-) diff --git a/data/widgets/options.xml b/data/widgets/options.xml index 908bb4540..7c8e63edc 100644 --- a/data/widgets/options.xml +++ b/data/widgets/options.xml @@ -32,6 +32,10 @@