Ole1 commited on
Commit
8a4cc4e
·
verified ·
1 Parent(s): 072074b

Update Run_gui.py

Browse files
Files changed (1) hide show
  1. Run_gui.py +3 -2
Run_gui.py CHANGED
@@ -398,17 +398,18 @@ class CaptionApp(QMainWindow):
398
  self.selected_image_path = None
399
  self.image_files = []
400
 
401
- self.dark_mode = True
402
 
403
  self.central_widget = QWidget()
404
  self.setCentralWidget(self.central_widget)
405
  self.main_layout = QHBoxLayout(self.central_widget)
406
 
407
- self.initUI() # Call initUI
408
  self.update_button_states()
409
  self.apply_theme()
410
 
411
 
 
412
  def initUI(self):
413
  # --- Left Panel ---
414
  left_panel = QVBoxLayout()
 
398
  self.selected_image_path = None
399
  self.image_files = []
400
 
401
+ self.dark_mode = True # Start i dark mode
402
 
403
  self.central_widget = QWidget()
404
  self.setCentralWidget(self.central_widget)
405
  self.main_layout = QHBoxLayout(self.central_widget)
406
 
407
+ self.initUI()
408
  self.update_button_states()
409
  self.apply_theme()
410
 
411
 
412
+
413
  def initUI(self):
414
  # --- Left Panel ---
415
  left_panel = QVBoxLayout()