From 74148e918eb7876883e268e95ba8902516acc47b Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 27 Oct 2015 15:42:13 +0100 Subject: * threaded main action --- src/bidding_data_gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/bidding_data_gui.py b/src/bidding_data_gui.py index 4986216..298ae1b 100644 --- a/src/bidding_data_gui.py +++ b/src/bidding_data_gui.py @@ -13,6 +13,7 @@ import tkMessageBox import logging as log import os +import threading class BiddingGUI(tk.Frame): @@ -139,7 +140,8 @@ class BiddingGUI(tk.Frame): def __dispatch_run_button_action(self): """Dispatch main button action asynchronously.""" - self.run_btn.after(0, self.run_bidding_data) + run_thread = threading.Thread(target=self.run_bidding_data) + run_thread.start() def __create_widgets(self): """ -- cgit v1.2.3