Commit 53d0ceb6 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix loading of macros menu

parent 87b8b124
...@@ -633,7 +633,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -633,7 +633,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
try: try:
while True: while True:
item = self.macros_menu.FindItemByPosition(1) item = self.macros_menu.FindItemByPosition(1)
if item is None: return if item is None: break
self.macros_menu.DeleteItem(item) self.macros_menu.DeleteItem(item)
except: except:
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment