This commit is contained in:
2024-03-07 20:30:00 +01:00
parent f1f264202b
commit fabd8e40a3
+6 -4
View File
@@ -89,7 +89,9 @@ class AppGui(QWidget):
0, QLabel(" Shift Type:"))
self.gui_frame.operator_parameters_group.layout().insertWidget(
1, shift_type)
self.gui_frame.operator_parameters_group.setFixedHeight(150)
self.gui_frame.measurement_tab_wgt.setFixedHeight(220)
self.gui_frame.results_wgt.setFixedWidth(1400)
self.gui_frame.results_wgt.setFixedHeight(860)
self.gui_frame.results_wgt.setLayout(self.gui_frame.results_layout)
@@ -944,7 +946,7 @@ class AppGui(QWidget):
# updates of SOL also update PWR, and vice-versa
# Do not click if already on standby!!
with self.lock():
with self.lock:
update_enabled = is_update_enabled()
if update_enabled:
@@ -976,11 +978,11 @@ class AppGui(QWidget):
# Disable because _table.set_standby_values() enables it
if not update_enabled:
with self.lock():
with self.lock:
self.table_pwr_dict[sector].init_value_button.setEnabled(False)
table.init_value_button.setEnabled(False)
def on_sector_restore(self):
target = self.sender()
sector = target.sector