gui.cpp

changeset 92
586d294ca83f
parent 88
652028158792
child 94
a9e67f6e610e
equal deleted inserted replaced
91:b4dda6348e7e 92:586d294ca83f
23 #include "gui.h" 23 #include "gui.h"
24 #include "file.h" 24 #include "file.h"
25 #include "config.h" 25 #include "config.h"
26 #include "misc.h" 26 #include "misc.h"
27 #include "colors.h" 27 #include "colors.h"
28 #include "history.h"
28 #include "config.h" 29 #include "config.h"
29 30
30 EXTERN_ACTION (newFile) 31 EXTERN_ACTION (newFile)
31 EXTERN_ACTION (open) 32 EXTERN_ACTION (open)
32 EXTERN_ACTION (save) 33 EXTERN_ACTION (save)
122 ACTION_NAME (help), 123 ACTION_NAME (help),
123 }; 124 };
124 125
125 for (QAction* act : qaDisabledActions) 126 for (QAction* act : qaDisabledActions)
126 act->setEnabled (false); 127 act->setEnabled (false);
128
129 History::updateActions ();
127 } 130 }
128 131
129 // ============================================================================= 132 // =============================================================================
130 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 133 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
131 // ============================================================================= 134 // =============================================================================

mercurial