- added a protection for when saving a file first time, it require a saved path and if none then it use the current working directory
This commit is contained in:
parent
8b0a9a429a
commit
d17fc12196
@ -1665,6 +1665,8 @@ class App(QtCore.QObject):
|
||||
loc = self.defaults["global_last_save_folder"]
|
||||
if loc is None:
|
||||
loc = self.defaults["global_last_folder"]
|
||||
if loc is None:
|
||||
loc = os.path.dirname(__file__)
|
||||
return loc
|
||||
|
||||
def report_usage(self, resource):
|
||||
|
Loading…
Reference in New Issue
Block a user