Protect views with no histories
svn: r15300
This commit is contained in:
parent
12918718f9
commit
527db10555
@ -421,7 +421,8 @@ class DisplayState(gen.utils.Callback):
|
||||
the given handle.
|
||||
"""
|
||||
history = self.get_history(nav_type, nav_group)
|
||||
history.push(handle)
|
||||
if history:
|
||||
history.push(handle)
|
||||
|
||||
def set_sensitive(self, state):
|
||||
self.window.set_sensitive(state)
|
||||
|
Loading…
Reference in New Issue
Block a user