astrodatagui: disable plot options by default

enable then when the first section/target table id was selected
This commit is contained in:
2024-03-18 10:08:46 +01:00
parent 460344d7a6
commit 4b9a1bb9c2
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -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 -3
View File
@@ -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>