astrodatagui: disable plot options by default
enable then when the first section/target table id was selected
This commit is contained in:
@@ -160,6 +160,7 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
||||
self.updateStarAltNames(altNames)
|
||||
|
||||
def sequenceSelected(self, item):
|
||||
self.gbPlotOptions.setEnabled(True)
|
||||
seqText = item.text().split(" - ")
|
||||
mainName = self.listDownloaded.currentItem().text()
|
||||
source = seqText[0]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1612</width>
|
||||
<width>1658</width>
|
||||
<height>1043</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -218,7 +218,10 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QGroupBox" name="groupBox_4">
|
||||
<widget class="QGroupBox" name="gbPlotOptions">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
@@ -1004,7 +1007,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1612</width>
|
||||
<width>1658</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user