|
|
@@ -15,8 +15,6 @@ class Elaborate(Ui_Elaborate, QDialog):
|
|
|
def click_ok(self):
|
|
|
top = self.top_edit.text()
|
|
|
bbox = self.checkBox.isChecked()
|
|
|
- try:
|
|
|
- self.mainWin.GUI.Elaborate(top,bbox)
|
|
|
- self.close()
|
|
|
- except Exception as e:
|
|
|
- print(e)
|
|
|
+ thread = threading.Thread(target=self.mainWin.GUI.Elaborate, args=(top,bbox,))
|
|
|
+ thread.start()
|
|
|
+ self.close()
|