summaryrefslogtreecommitdiff
path: root/src/bidding_data_gui.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-10-27 15:42:13 +0100
committeremkael <emkael@tlen.pl>2015-10-27 16:54:51 +0100
commit74148e918eb7876883e268e95ba8902516acc47b (patch)
tree75a3527b416648afc5ad84f3d9325041db8a7254 /src/bidding_data_gui.py
parent6efb145e8a902f7eec295ec524bdece01d83528d (diff)
* threaded main action
Diffstat (limited to 'src/bidding_data_gui.py')
-rw-r--r--src/bidding_data_gui.py4
1 files changed, 3 insertions, 1 deletions
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):
"""