diff --git a/src/controller.py b/src/controller.py index 0f6c793..194b4f1 100644 --- a/src/controller.py +++ b/src/controller.py @@ -206,7 +206,7 @@ def create_printer(self): save_settings() # update label with printer path - self.view.printer_path_edit.setText(os.path.basename(printer_path)) + self.view.setts.edit("printer_path").setText(os.path.basename(printer_path)) # update path in calibration model try: @@ -245,7 +245,7 @@ def choose_printer_path(self): save_settings() # update label with printer path - self.view.printer_path_edit.setText(os.path.basename(printer_path)) + self.view.setts.edit("printer_path").setText(os.path.basename(printer_path)) # update path in calibration model try: