@@ -139,6 +139,7 @@ class MainWindow(Ui_MainWindow, QMainWindow):
if type(widget) not in (QTextBrowser, QTextEdit):
return
widget.selectAll()
+
def report_exceptions(self):
pass
@@ -106,7 +106,6 @@ class AnalyzeWindow(Ui_AnalyzeWindow, QDialog):
try:
thread = threading.Thread(target=self.GUI_shell_execute, args=(f"_GUI.Analyze({args})",))
thread.start()
- thread.join()
except Exception as e:
print(e)
@@ -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()