summaryrefslogtreecommitdiff
path: root/ui/main_window.py
diff options
context:
space:
mode:
Diffstat (limited to 'ui/main_window.py')
-rw-r--r--ui/main_window.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/main_window.py b/ui/main_window.py
index 012d6f5..b632535 100644
--- a/ui/main_window.py
+++ b/ui/main_window.py
@@ -601,6 +601,11 @@ class MainWindow(QMainWindow):
# ── Profile callbacks ─────────────────────────────────────────────────
+ def load_profile_path(self, path: str) -> bool:
+ """Load a .labui file from an explicit path — used when one is
+ opened from the OS (double-click / CLI argv), see main.py."""
+ return self._file_btn.load_path(path)
+
def _profile_new(self):
"""Reset to a blank slate."""
# Clear devices