Update Run_gui.py
Browse files- Run_gui.py +4 -2
Run_gui.py
CHANGED
|
@@ -398,14 +398,16 @@ class CaptionApp(QMainWindow):
|
|
| 398 |
self.selected_image_path = None
|
| 399 |
self.image_files = []
|
| 400 |
|
|
|
|
|
|
|
| 401 |
self.central_widget = QWidget()
|
| 402 |
self.setCentralWidget(self.central_widget)
|
| 403 |
self.main_layout = QHBoxLayout(self.central_widget)
|
| 404 |
|
| 405 |
self.initUI()
|
| 406 |
-
self.dark_mode = True
|
|
|
|
| 407 |
self.update_button_states()
|
| 408 |
-
self.apply_theme()
|
| 409 |
|
| 410 |
|
| 411 |
def initUI(self):
|
|
|
|
| 398 |
self.selected_image_path = None
|
| 399 |
self.image_files = []
|
| 400 |
|
| 401 |
+
self.dark_mode = False # Midlertidigt
|
| 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.dark_mode = True # Aktiver dark mode efter UI er sat op
|
| 409 |
+
self.apply_theme() # Tving temaet til at skifte
|
| 410 |
self.update_button_states()
|
|
|
|
| 411 |
|
| 412 |
|
| 413 |
def initUI(self):
|