consone: don't enter Options if it's already open

This commit is contained in:
Aldo Cortesi
2015-04-07 12:26:56 +12:00
parent 6bab6f2ef1
commit c7b1234e13

View File

@@ -472,6 +472,9 @@ class ConsoleMaster(flow.FlowMaster):
)
def view_options(self):
for i in self.view_stack:
if isinstance(i["body"], options.Options):
return
signals.push_view_state.send(self)
self.loop.widget = window.Window(
self,