mirror of https://gitlab.com/pamhyr/pamhyr2
Scenario: Fix contextual menu.
parent
40cc188815
commit
f51f742e00
|
|
@ -71,7 +71,9 @@ class ScenarioMenu(AbstractMenu):
|
|||
)
|
||||
|
||||
action = self._exec()
|
||||
if action == select:
|
||||
if action == None:
|
||||
return
|
||||
elif action == select:
|
||||
self._parent.select_scenario(item)
|
||||
elif action == delete:
|
||||
self._parent.delete_scenario(item)
|
||||
|
|
|
|||
Loading…
Reference in New Issue