Skip to content

Commit

Permalink
Merge pull request #45 from acsone/FILE_MENU_WITH_PLUGIN_ENTRIES
Browse files Browse the repository at this point in the history
Arelle with tkinter GUI: make sure the File menu is complete when there are plug-ins extending it
  • Loading branch information
hefischer committed Apr 18, 2015
2 parents 0478a67 + 8918c1a commit 1237540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arelle/CntlrWinMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def __init__(self, parent):
elif label == "PLUG-IN":
for pluginMenuExtender in pluginClassMethods(command):
pluginMenuExtender(self, self.fileMenu)
self.fileMenuLength += 1
else:
self.fileMenu.add_command(label=label, underline=0, command=command, accelerator=shortcut_text)
self.parent.bind(shortcut, command)
Expand Down

0 comments on commit 1237540

Please sign in to comment.