This commit is contained in:
Mr Finchum 2025-02-09 18:00:35 +01:00
parent 5b2399b99e
commit 5756e02988
2 changed files with 3 additions and 5 deletions

View file

@ -1,8 +1,10 @@
# Changelog
## 0.12.x
### 0.12.0: New Settings Menu & Patches
### 0.12.1: Removed Unnecessary Debug Prints
- Removed leftover debug print statements.
### 0.12.0: New Settings Menu & Patches
- **New Settings Window:**
- The updater window has been reworked into a settings window.
- **Initial settings (first tab) include:**

View file

@ -47,8 +47,6 @@ class OptimaLab35(QMainWindow, Ui_MainWindow):
self.o = OptimaManager()
self.u = Utilities(os.path.expanduser("~/.config/OptimaLab35"))
self.app_settings = self.u.load_settings()
print(self.app_settings)
self.thread_pool = QThreadPool() # multi thread ChatGPT
# Initiate internal object
self.exif_file = os.path.expanduser("~/.config/OptimaLab35/exif.yaml")
@ -582,9 +580,7 @@ class SettingsWindow(QMainWindow, Ui_Settings_Window):
msg_box.setStandardButtons(QMessageBox.Ok)
msg_box.exec()
if a[0]:
print("before", self.app_settings)
self.app_settings["theme"]["theme_pkg"] = True
print("After:::", self.app_settings)
self.load_settings_into_ui()
else:
self.ui.install_pkg_Button.setEnabled(True)