- fixed some of the Tcl Commands that depended on the methods refactored above

This commit is contained in:
Marius Stanciu
2020-10-24 20:28:37 +03:00
committed by Marius
parent 9491bdc4fc
commit 8de411d4c4
7 changed files with 10 additions and 6 deletions

View File

@@ -423,8 +423,6 @@ class App(QtCore.QObject):
# ############################################################################################################
self.defaults = FlatCAMDefaults(beta=self.beta, version=self.version)
self.defaults["root_folder_path"] = self.app_home
current_defaults_path = os.path.join(self.data_path, "current_defaults.FlatConfig")
if user_defaults:
self.defaults.load(filename=current_defaults_path, inform=self.inform)
@@ -1314,6 +1312,9 @@ class App(QtCore.QObject):
# ###########################################################################################################
self.f_handlers = MenuFileHandlers(app=self)
# this is calculated in the class above (somehow?)
self.defaults["root_folder_path"] = self.app_home
# ###########################################################################################################
# ############################################ SETUP RECENT ITEMS ###########################################
# ###########################################################################################################