fix main ui

This commit is contained in:
2025-07-07 22:01:29 +02:00
parent f746132f11
commit 33d5106703
+5 -5
View File
@@ -490,15 +490,15 @@ class MainWindow(QtWidgets.QMainWindow):
layout.addWidget(start_state_group, 5, 0, 1, 5)
layout.setRowStretch(5, 0) # Prevent vertical stretch
def _log_btn_refresh_windows(self):
logger.info("UI: Refresh Windows button pressed")
self.refresh_window_list()
# Set central widget
# Set central widget (must be at the end of init_ui)
central = QtWidgets.QWidget()
central.setLayout(layout)
self.setCentralWidget(central)
def _log_btn_refresh_windows(self):
logger.info("UI: Refresh Windows button pressed")
self.refresh_window_list()
def _log_combo_scenario(self, idx):
"""
Log scenario combo box change and call select_scenario.