src/gui_editactions.cpp

changeset 355
c2db4aa66b5d
parent 346
ba2db5e22f8b
child 360
77f08db90249
equal deleted inserted replaced
354:b32d4d66cb6e 355:c2db4aa66b5d
22 22
23 #include "gui.h" 23 #include "gui.h"
24 #include "common.h" 24 #include "common.h"
25 #include "file.h" 25 #include "file.h"
26 #include "colorSelectDialog.h" 26 #include "colorSelectDialog.h"
27 #include "historyDialog.h"
28 #include "misc.h" 27 #include "misc.h"
29 #include "widgets.h" 28 #include "widgets.h"
30 #include "extprogs.h" 29 #include "extprogs.h"
31 #include "gldraw.h" 30 #include "gldraw.h"
32 #include "dialogs.h" 31 #include "dialogs.h"
351 g_curfile->undo (); 350 g_curfile->undo ();
352 } 351 }
353 352
354 MAKE_ACTION (redo, "Redo", "redo", "Redo a step.", CTRL_SHIFT (Z)) { 353 MAKE_ACTION (redo, "Redo", "redo", "Redo a step.", CTRL_SHIFT (Z)) {
355 g_curfile->redo (); 354 g_curfile->redo ();
356 }
357
358 MAKE_ACTION (showHistory, "Edit History", "history", "Show the history dialog.", (0)) {
359 HistoryDialog dlg;
360 dlg.exec ();
361 } 355 }
362 356
363 // ============================================================================= 357 // =============================================================================
364 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 358 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
365 // ============================================================================= 359 // =============================================================================

mercurial