diff options
-rw-r--r-- | bundle/bidding_data-1.1-gui.zip | bin | 14137107 -> 14137114 bytes | |||
-rw-r--r-- | bundle/bidding_data-1.1.zip | bin | 13561444 -> 13561444 bytes | |||
-rw-r--r-- | src/bidding_data_gui.py | 6 |
3 files changed, 5 insertions, 1 deletions
diff --git a/bundle/bidding_data-1.1-gui.zip b/bundle/bidding_data-1.1-gui.zip Binary files differindex 2f982f1..e960ffb 100644 --- a/bundle/bidding_data-1.1-gui.zip +++ b/bundle/bidding_data-1.1-gui.zip diff --git a/bundle/bidding_data-1.1.zip b/bundle/bidding_data-1.1.zip Binary files differindex 49a5cb5..2383508 100644 --- a/bundle/bidding_data-1.1.zip +++ b/bundle/bidding_data-1.1.zip diff --git a/src/bidding_data_gui.py b/src/bidding_data_gui.py index a942db5..1547862 100644 --- a/src/bidding_data_gui.py +++ b/src/bidding_data_gui.py @@ -175,6 +175,10 @@ class BiddingGUI(tk.Frame): log.getLogger('config').error('Could not save config file: %s', ex) self.master.destroy() + def on_quit(self): + self.on_close() + self.quit() + # GUI message queue (for background thread interaction) __queue = None @@ -314,7 +318,7 @@ class BiddingGUI(tk.Frame): self, text='OCB?!', command=self.display_info) # application exit button quit_btn = tk.Button( - self, text='Koniec tego dobrego', command=self.quit) + self, text='Koniec tego dobrego', command=self.on_quit) # third and fourth row, leftmost 2/3 of window width, entire cell self.run_btn.grid( row=2, column=0, rowspan=2, columnspan=4, |