Clean actioninfo in menu between nodes
This commit is contained in:
parent
f31433c3ef
commit
24fbfdf35c
1 changed files with 1 additions and 0 deletions
|
|
@ -2380,6 +2380,7 @@ class OLCMenu(EvMenu):
|
||||||
olc_keys = ("index", "forward", "back", "previous", "next", "validate prototype",
|
olc_keys = ("index", "forward", "back", "previous", "next", "validate prototype",
|
||||||
"save prototype", "load prototype", "spawn prototype", "search objects")
|
"save prototype", "load prototype", "spawn prototype", "search objects")
|
||||||
actioninfo = self.actioninfo + "\n" if hasattr(self, 'actioninfo') else ''
|
actioninfo = self.actioninfo + "\n" if hasattr(self, 'actioninfo') else ''
|
||||||
|
self.actioninfo = '' # important, or this could bleed over to other nodes
|
||||||
olc_options = []
|
olc_options = []
|
||||||
other_options = []
|
other_options = []
|
||||||
for key, desc in optionlist:
|
for key, desc in optionlist:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue