- fixed crash when trying to set a workspace in FlatCAM in the Legacy engine 2D mode by disabling this function for the case of 2D mode

- updated the translation files
This commit is contained in:
Marius Stanciu
2019-09-22 17:59:01 +03:00
committed by Marius
parent 956ba36a6a
commit 6238b07826
16 changed files with 2109 additions and 2104 deletions

View File

@@ -2092,6 +2092,12 @@ class App(QtCore.QObject):
self.setup_recent_items()
self.setup_component_editor()
# this does not work in Legacy Mode
if self.is_legacy is True:
self.ui.general_defaults_form.general_gui_group.workspace_cb.setDisabled(True)
self.ui.general_defaults_form.general_gui_group.workspace_type_lbl.setDisabled(True)
self.ui.general_defaults_form.general_gui_group.wk_cb.setDisabled(True)
# #####################################################################################
# ######################### Auto-complete KEYWORDS ####################################
# #####################################################################################