Browse Source

Don't stop the readLocalFile process if there is no workspace reader

Or else the non-project files, which do not get a workspace reader by definition, won't be opened
in Cura.

CURA-7996
Kostas Karmas 4 years ago
parent
commit
56b3cc5fe5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      cura/CuraApplication.py

+ 0 - 4
cura/CuraApplication.py

@@ -1758,10 +1758,6 @@ class CuraApplication(QtApplication):
 
         is_project_file = self.checkIsValidProjectFile(file)
 
-        if is_project_file is False:
-            # The file isn't a valid project file so abort reading it.
-            return
-
         if project_mode is None:
             project_mode = self.getPreferences().getValue("cura/choice_on_open_project")