From 8f06bd7aed4a259fe1525ac09308c77fbb494d3e Mon Sep 17 00:00:00 2001 From: Rex Cheng Date: Thu, 28 Dec 2023 19:05:50 -0600 Subject: [PATCH] fix #36 --- gui/main_controller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/main_controller.py b/gui/main_controller.py index 7aa0ea3..a209f71 100644 --- a/gui/main_controller.py +++ b/gui/main_controller.py @@ -33,7 +33,6 @@ class MainController(): - def __init__(self, cfg: DictConfig) -> None: super().__init__() @@ -553,7 +552,7 @@ def on_clear_non_permanent_memory(self): self.update_memory_gauges() def on_import_mask(self): - file_name = self._open_file('Mask') + file_name = self.gui.open_file('Mask') if len(file_name) == 0: return