mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2025-02-16 21:45:39 +00:00
Remove exit messagebox.
This commit is contained in:
parent
b0607e9c6e
commit
2103c08582
1 changed files with 2 additions and 3 deletions
|
@ -862,8 +862,7 @@ def uiUpdateDirectoryField(dir):
|
||||||
g_tkDirText.configure(state='disabled')
|
g_tkDirText.configure(state='disabled')
|
||||||
|
|
||||||
def uiHandleExitProtocol():
|
def uiHandleExitProtocol():
|
||||||
if messagebox.askokcancel('Message', 'Are you sure you want to exit?', parent=g_tkRoot):
|
g_tkRoot.destroy()
|
||||||
g_tkRoot.destroy()
|
|
||||||
|
|
||||||
def uiHandleExitProtocolStub():
|
def uiHandleExitProtocolStub():
|
||||||
pass
|
pass
|
||||||
|
@ -928,7 +927,7 @@ def main():
|
||||||
except:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
g_tkRoot.withdraw()
|
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()
|
g_tkRoot.destroy()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue