fix main ui
This commit is contained in:
@@ -490,15 +490,15 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
layout.addWidget(start_state_group, 5, 0, 1, 5)
|
layout.addWidget(start_state_group, 5, 0, 1, 5)
|
||||||
layout.setRowStretch(5, 0) # Prevent vertical stretch
|
layout.setRowStretch(5, 0) # Prevent vertical stretch
|
||||||
|
|
||||||
def _log_btn_refresh_windows(self):
|
# Set central widget (must be at the end of init_ui)
|
||||||
logger.info("UI: Refresh Windows button pressed")
|
|
||||||
self.refresh_window_list()
|
|
||||||
|
|
||||||
# Set central widget
|
|
||||||
central = QtWidgets.QWidget()
|
central = QtWidgets.QWidget()
|
||||||
central.setLayout(layout)
|
central.setLayout(layout)
|
||||||
self.setCentralWidget(central)
|
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):
|
def _log_combo_scenario(self, idx):
|
||||||
"""
|
"""
|
||||||
Log scenario combo box change and call select_scenario.
|
Log scenario combo box change and call select_scenario.
|
||||||
|
|||||||
Reference in New Issue
Block a user