src/gui.cpp

changeset 348
20134b519f90
parent 344
55fcf67230fd
child 351
6fdd32c4886c
--- a/src/gui.cpp	Sat Jul 06 03:54:59 2013 +0300
+++ b/src/gui.cpp	Sat Jul 06 04:00:50 2013 +0300
@@ -545,11 +545,12 @@
 // =============================================================================
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
-EXTERN_ACTION (undo);
-EXTERN_ACTION (redo);
+EXTERN_ACTION( undo );
+EXTERN_ACTION( redo );
+EXTERN_ACTION( open );
 void ForgeWindow::slot_action () {
 	// Open the history so we can record the edits done during this action.
-	if (sender () != ACTION (undo) && sender () != ACTION (redo))
+	if( sender() != ACTION( undo ) && sender() != ACTION( redo ) && sender() != ACTION( open ))
 		g_curfile->openHistory ();
 	
 	// Get the action that triggered this slot.

mercurial