diff options
Diffstat (limited to 'grc/gui/StateCache.py')
-rw-r--r-- | grc/gui/StateCache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/StateCache.py b/grc/gui/StateCache.py index b109a1281b..ef260d6091 100644 --- a/grc/gui/StateCache.py +++ b/grc/gui/StateCache.py @@ -99,5 +99,5 @@ class StateCache(object): """ Update the undo and redo actions based on the number of next and prev states. """ - Actions.FLOW_GRAPH_REDO.set_sensitive(self.num_next_states != 0) - Actions.FLOW_GRAPH_UNDO.set_sensitive(self.num_prev_states != 0) + Actions.FLOW_GRAPH_REDO.set_enabled(self.num_next_states != 0) + Actions.FLOW_GRAPH_UNDO.set_enabled(self.num_prev_states != 0) |