1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-10 04:31:44 +00:00

Remove exit messagebox.

This commit is contained in:
Pablo Curiel 2021-03-16 11:54:17 -04:00
parent b0607e9c6e
commit 2103c08582

View file

@ -862,8 +862,7 @@ def uiUpdateDirectoryField(dir):
g_tkDirText.configure(state='disabled')
def uiHandleExitProtocol():
if messagebox.askokcancel('Message', 'Are you sure you want to exit?', parent=g_tkRoot):
g_tkRoot.destroy()
g_tkRoot.destroy()
def uiHandleExitProtocolStub():
pass
@ -928,7 +927,7 @@ def main():
except:
traceback.print_exc()
g_tkRoot.withdraw()
messagebox.showerror('Error', 'Unable to decode embedded application icon!')
messagebox.showerror('Error', 'Unable to decode embedded application icon!', parent=g_tkRoot)
g_tkRoot.destroy()
return