diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 18932c62..1499ef54 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -361,6 +361,10 @@ class AppWindow(object): for child in frame.winfo_children(): child.grid_configure(padx=5, pady=(platform != 'win32' or isinstance(child, tk.Frame)) and 2 or 0) + # The type needs defining for adding the menu entry, but won't be + # properly set until later + self.updater: update.Updater = None + self.menubar = tk.Menu() if platform == 'darwin': # Can't handle (de)iconify if topmost is set, so suppress iconify button