diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-08-02 11:05:48 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-08-02 11:05:48 -0600 |
| commit | 1c349a982026736f4c2a26951d9d0aefe7b963bc (patch) | |
| tree | b66175df392e3d707ca45650facfd18bcba6c337 /ui/profile_manager_ui.py | |
| parent | fa0304793a4525db68cb53b527d695bfa2c65966 (diff) | |
| parent | 0aa59c13af65beeae104662593b21ba4d8a37789 (diff) | |
Merge branch 'feat/auto-updater'
Diffstat (limited to 'ui/profile_manager_ui.py')
| -rw-r--r-- | ui/profile_manager_ui.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/profile_manager_ui.py b/ui/profile_manager_ui.py index 8966f8f..446e867 100644 --- a/ui/profile_manager_ui.py +++ b/ui/profile_manager_ui.py @@ -17,8 +17,8 @@ from PyQt6.QtGui import QAction from core.profile import Profile, ProfileManager -PROFILE_EXT = ".labdaq" -PROFILE_FILTER = f"LabDAQ Profile (*{PROFILE_EXT});;All files (*)" +PROFILE_EXT = ".labui" +PROFILE_FILTER = f"LabUI Profile (*{PROFILE_EXT});;All files (*)" class ProfileButton(QPushButton): @@ -134,7 +134,7 @@ class ProfileButton(QPushButton): # ── Helpers ─────────────────────────────────────────────────────────────── def _default_dir(self) -> str: - d = os.path.join(os.path.expanduser("~"), "labdaq_profiles") + d = os.path.join(os.path.expanduser("~"), "labui_profiles") os.makedirs(d, exist_ok=True) return d @@ -142,8 +142,8 @@ class ProfileButton(QPushButton): app = QApplication.instance() if app and hasattr(app, "topLevelWidgets"): for w in app.topLevelWidgets(): - if hasattr(w, "setWindowTitle") and "LabDAQ" in (w.windowTitle() or ""): - title = "LabDAQ" + if hasattr(w, "setWindowTitle") and "LabUI" in (w.windowTitle() or ""): + title = "LabUI" if name: title += f" — {name}" if self._current_path: |
