ProjectController.py
branchwxPython4
changeset 3318 aee9e98c856a
parent 3302 c89fc366bebd
child 3376 83ed4ea362db
--- a/ProjectController.py	Mon Sep 13 17:57:47 2021 +0200
+++ b/ProjectController.py	Mon Sep 13 22:23:14 2021 +0200
@@ -402,7 +402,7 @@
         return res
 
     # helper func to check project path write permission
-    def CheckProjectPathPerm(self, dosave=True):
+    def CheckProjectPathPerm(self):
         if CheckPathPerm(self.ProjectPath):
             return True
         if self.AppFrame is not None:
@@ -577,7 +577,7 @@
         return True
 
     def SaveProject(self, from_project_path=None):
-        if self.CheckProjectPathPerm(False):
+        if self.CheckProjectPathPerm():
             if from_project_path is not None:
                 old_projectfiles_path = self._getProjectFilesPath(
                     from_project_path)