src/gui_editactions.cpp

changeset 271
d5ec224c1879
parent 269
2d71227f35cb
child 274
d232fe4d88a6
--- a/src/gui_editactions.cpp	Sat Jun 01 22:42:52 2013 +0300
+++ b/src/gui_editactions.cpp	Mon Jun 10 15:15:23 2013 +0300
@@ -366,11 +366,11 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 MAKE_ACTION (undo, "Undo", "undo", "Undo a step.", CTRL (Z)) {
-	
+	g_curfile->history ().undo ();
 }
 
 MAKE_ACTION (redo, "Redo", "redo", "Redo a step.", CTRL_SHIFT (Z)) {
-	
+	g_curfile->history ().redo ();
 }
 
 MAKE_ACTION (showHistory, "Edit History", "history", "Show the history dialog.", (0)) {

mercurial