- made units change from shortcut key 'Q' not to affect the preferences

This commit is contained in:
Marius Stanciu
2019-05-06 03:58:11 +03:00
parent ed58acdac5
commit 7c334d7606
3 changed files with 13 additions and 8 deletions

View File

@@ -2290,7 +2290,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.app.ui.general_defaults_form.general_app_group.units_radio.set_value("IN")
else:
self.app.ui.general_defaults_form.general_app_group.units_radio.set_value("MM")
self.app.on_toggle_units()
self.app.on_toggle_units(no_pref=True)
# Rotate Object by 90 degree CW
if key == QtCore.Qt.Key_R: