- made sure that the app starts with toolbar's locked

This commit is contained in:
Marius Stanciu
2022-03-10 18:24:18 +02:00
committed by Marius
parent 158dfd75c3
commit 65cf80165c
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ CHANGELOG for FlatCAM beta
- fixed Film Plugin not using the set value in Preferences for the `skew type`
- more work in Film Plugin, in the `ratio` skew feature
- fixed a typo in the Distance Plugin which made that the Delta Y value was always the same as Delta X value
- made sure that the app starts with toolbar's locked
9.03.2022

View File

@@ -1989,7 +1989,7 @@ class MainGUI(QtWidgets.QMainWindow):
lock_state = False
self.lock_action.setChecked(False)
else:
lock_state = False
lock_state = True
qsettings.setValue('toolbar_lock', lock_state)
# This will write the setting to the platform specific storage.