From feb0a08fd90b8e52fe8415544048192577b769c1 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 21 Nov 2017 12:34:08 +0100 Subject: [PATCH] CURA-4581 The project name is cached instead of set --- plugins/3MFReader/ThreeMFWorkspaceReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py index a3aadc79b8..a237460bab 100755 --- a/plugins/3MFReader/ThreeMFWorkspaceReader.py +++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py @@ -902,7 +902,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader): base_file_name = os.path.basename(file_name) if base_file_name.endswith(".curaproject.3mf"): base_file_name = base_file_name[:base_file_name.rfind(".curaproject.3mf")] - Application.getInstance().projectFileLoaded.emit(base_file_name) + self.setWorkspaceName(base_file_name) return nodes ## HACK: Replaces the material container in the given stack with a newly created material container.