mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
Scenario: Fix contextual menu.
This commit is contained in:
1 parent
40cc188815
commit
f51f742e00
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user