対応するシグナルを変えてみる
This commit is contained in:
parent
5c7611481c
commit
aa413cee19
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class App(tkinter.Tk):
|
|||
self.title(f"{app_name} | てすと")
|
||||
self.iconbitmap(default=resource_path + '\\icon\\dislocker.ico')
|
||||
|
||||
self.protocol("WM_DELETE_WINDOW", self.handler_close)
|
||||
self.protocol("WM_SAVE_YOURSELF", self.handler_close)
|
||||
|
||||
self.frame = tkinter.Frame(self)
|
||||
self.frame.grid(row=0, column=0, sticky='nsew')
|
||||
|
|
Loading…
Reference in a new issue