- fixed bug recently introduced that when changing the units in the Edit -> Preferences it did not converted the values
- RELEASE 8.92
This commit is contained in:
@@ -5189,7 +5189,7 @@ class App(QtCore.QObject):
|
|||||||
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
tb.textEdited.disconnect()
|
tb.textEdited.disconnect(self.on_preferences_edited)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
tb.textEdited.connect(self.on_preferences_edited)
|
tb.textEdited.connect(self.on_preferences_edited)
|
||||||
@@ -5198,7 +5198,7 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
tb.modificationChanged.disconnect()
|
tb.modificationChanged.disconnect(self.on_preferences_edited)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
tb.modificationChanged.connect(self.on_preferences_edited)
|
tb.modificationChanged.connect(self.on_preferences_edited)
|
||||||
@@ -5207,7 +5207,7 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
tb.toggled.disconnect()
|
tb.toggled.disconnect(self.on_preferences_edited)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
tb.toggled.connect(self.on_preferences_edited)
|
tb.toggled.connect(self.on_preferences_edited)
|
||||||
@@ -5216,7 +5216,7 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
tb.valueChanged.disconnect()
|
tb.valueChanged.disconnect(self.on_preferences_edited)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
tb.valueChanged.connect(self.on_preferences_edited)
|
tb.valueChanged.connect(self.on_preferences_edited)
|
||||||
@@ -5225,7 +5225,7 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
tb.currentIndexChanged.disconnect()
|
tb.currentIndexChanged.disconnect(self.on_preferences_edited)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
tb.currentIndexChanged.connect(self.on_preferences_edited)
|
tb.currentIndexChanged.connect(self.on_preferences_edited)
|
||||||
@@ -5241,27 +5241,27 @@ class App(QtCore.QObject):
|
|||||||
for idx in range(self.ui.pref_tab_area.count()):
|
for idx in range(self.ui.pref_tab_area.count()):
|
||||||
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
||||||
try:
|
try:
|
||||||
tb.textEdited.disconnect()
|
tb.textEdited.disconnect(self.on_preferences_edited)
|
||||||
except (TypeError, AttributeError):
|
except (TypeError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tb.modificationChanged.disconnect()
|
tb.modificationChanged.disconnect(self.on_preferences_edited)
|
||||||
except (TypeError, AttributeError):
|
except (TypeError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tb.toggled.disconnect()
|
tb.toggled.disconnect(self.on_preferences_edited)
|
||||||
except (TypeError, AttributeError):
|
except (TypeError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tb.valueChanged.disconnect()
|
tb.valueChanged.disconnect(self.on_preferences_edited)
|
||||||
except (TypeError, AttributeError):
|
except (TypeError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tb.currentIndexChanged.disconnect()
|
tb.currentIndexChanged.disconnect(self.on_preferences_edited)
|
||||||
except (TypeError, AttributeError):
|
except (TypeError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- added a detection if any values are changed in the Edit -> Preferences window and on close it will ask the user if he wants to save the changes or not
|
- added a detection if any values are changed in the Edit -> Preferences window and on close it will ask the user if he wants to save the changes or not
|
||||||
- created a new menu entry in the File menu named Recent projects that will hold the recent projects and the previous "Recent files" will hold only the previous loaded files
|
- created a new menu entry in the File menu named Recent projects that will hold the recent projects and the previous "Recent files" will hold only the previous loaded files
|
||||||
- updated all translations for the new strings
|
- updated all translations for the new strings
|
||||||
|
- fixed bug recently introduced that when changing the units in the Edit -> Preferences it did not converted the values
|
||||||
- RELEASE 8.92
|
- RELEASE 8.92
|
||||||
|
|
||||||
30.07.2019
|
30.07.2019
|
||||||
|
|||||||
Reference in New Issue
Block a user