There was an error while loading. Please reload this page.
1 parent 642ec17 commit 09b11a8Copy full SHA for 09b11a8
spatialmedia/gui.py
@@ -357,9 +357,13 @@ def report_callback_exception(self, *args):
357
def main():
358
root = tk.Tk()
359
root.tk.call('tk', 'scaling', 2.0)
360
+ root.withdraw()
361
+ app_window = tk.Toplevel(root, class_="Spatial Media Metadata Injector")
362
+ app_window.resizable(False, False)
363
+ app_window.protocol("WM_DELETE_WINDOW", root.destroy)
364
tk.report_callback_exception = report_callback_exception
- app = Application(master=root)
- app.mainloop()
365
+ Application(master=app_window)
366
+ root.mainloop()
367
368
369
if __name__ == "__main__":
0 commit comments