From 462b5f67032ef1e0688d6a73d196b06e19e8e752 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Fri, 17 May 2024 10:25:20 +0200 Subject: [PATCH] astrodatagui: show empty FlareSummaryPlotGUI when flare calculations are done --- main/astrodatagui/AstrodataGUI.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/astrodatagui/AstrodataGUI.py b/main/astrodatagui/AstrodataGUI.py index 471cee4..eb2b447 100644 --- a/main/astrodatagui/AstrodataGUI.py +++ b/main/astrodatagui/AstrodataGUI.py @@ -13,6 +13,8 @@ from .CalcAllFlaresThread import CalcAllFlaresThread DEFAULT_DB = "stars.db" +from .FlareSummaryPlotGUI import FlareSummaryPlotGUI + class AstrodataGUI(QtWidgets.QMainWindow): def __init__(self): super(AstrodataGUI, self).__init__() @@ -351,6 +353,8 @@ class AstrodataGUI(QtWidgets.QMainWindow): def btCountAllFlaresClickedDone(self, allFlaresDictList): print(allFlaresDictList) self.calcAllFlaresThread = None + self.AllFlaresWindow = FlareSummaryPlotGUI() + self.AllFlaresWindow.show() def btCountAllFlaresClicked(self): if(self.calcAllFlaresThread is None):