- fixed a bug that created a crash in special conditions; it's related to the QSettings in FlatCAMGui.py
This commit is contained in:
@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
||||
|
||||
=================================================
|
||||
|
||||
15.12.2019
|
||||
|
||||
- fixed a bug that created a crash in special conditions; it's related to the QSettings in FlatCAMGui.py
|
||||
|
||||
14.12.2019
|
||||
|
||||
- finished the strings update in the Google-translated Spanish
|
||||
|
||||
@@ -2099,6 +2099,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
self.lock_action.setText(_("Lock Toolbars"))
|
||||
self.lock_action.setCheckable(True)
|
||||
|
||||
settings = QSettings("Open Source", "FlatCAM")
|
||||
if settings.contains("toolbar_lock"):
|
||||
lock_val = settings.value('toolbar_lock')
|
||||
if lock_val == 'true':
|
||||
|
||||
@@ -886,6 +886,7 @@ class GeneralGUISetGroupUI(OptionsGroupUI):
|
||||
_("Enable display of the splash screen at application startup.")
|
||||
)
|
||||
self.splash_cb = FCCheckBox()
|
||||
|
||||
settings = QSettings("Open Source", "FlatCAM")
|
||||
if settings.value("splash_screen"):
|
||||
self.splash_cb.set_value(True)
|
||||
|
||||
Reference in New Issue
Block a user