astrodatagui: disable count flares button when clicked and re-enable when done
This commit is contained in:
@@ -354,11 +354,13 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
||||
|
||||
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
||||
self.calcAllFlaresThread = None
|
||||
self.btCountAllFlaresClicked.setEnabled(True)
|
||||
self.AllFlaresWindow = FlareSummaryPlotGUI(allFlaresDictList)
|
||||
self.AllFlaresWindow.show()
|
||||
|
||||
def btCountAllFlaresClicked(self):
|
||||
if(self.calcAllFlaresThread is None):
|
||||
self.btCountAllFlaresClicked.setEnabled(False)
|
||||
allStarsDictList = pd.DataFrame(columns=["StarName",
|
||||
"SpType",
|
||||
"RotVel",
|
||||
|
||||
Reference in New Issue
Block a user