astrodatagui: show empty FlareSummaryPlotGUI when flare calculations are done
This commit is contained in:
@@ -13,6 +13,8 @@ from .CalcAllFlaresThread import CalcAllFlaresThread
|
|||||||
|
|
||||||
DEFAULT_DB = "stars.db"
|
DEFAULT_DB = "stars.db"
|
||||||
|
|
||||||
|
from .FlareSummaryPlotGUI import FlareSummaryPlotGUI
|
||||||
|
|
||||||
class AstrodataGUI(QtWidgets.QMainWindow):
|
class AstrodataGUI(QtWidgets.QMainWindow):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(AstrodataGUI, self).__init__()
|
super(AstrodataGUI, self).__init__()
|
||||||
@@ -351,6 +353,8 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
|||||||
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
||||||
print(allFlaresDictList)
|
print(allFlaresDictList)
|
||||||
self.calcAllFlaresThread = None
|
self.calcAllFlaresThread = None
|
||||||
|
self.AllFlaresWindow = FlareSummaryPlotGUI()
|
||||||
|
self.AllFlaresWindow.show()
|
||||||
|
|
||||||
def btCountAllFlaresClicked(self):
|
def btCountAllFlaresClicked(self):
|
||||||
if(self.calcAllFlaresThread is None):
|
if(self.calcAllFlaresThread is None):
|
||||||
|
|||||||
Reference in New Issue
Block a user