- fixed an issue when using Python 3.10, in GUI elements
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
17.11.2021
|
||||||
|
|
||||||
|
- fixed an issue when using Python 3.10, in GUI elements
|
||||||
|
|
||||||
10.11.2021
|
10.11.2021
|
||||||
|
|
||||||
- fixed the issue with toggling visibility for Excellon objects
|
- fixed the issue with toggling visibility for Excellon objects
|
||||||
|
|||||||
@@ -1605,7 +1605,7 @@ class FCCheckBox(QtWidgets.QCheckBox):
|
|||||||
return self.isChecked()
|
return self.isChecked()
|
||||||
|
|
||||||
def set_value(self, val):
|
def set_value(self, val):
|
||||||
self.setChecked(val)
|
self.setChecked(True if val else False)
|
||||||
|
|
||||||
def toggle(self):
|
def toggle(self):
|
||||||
self.set_value(not self.get_value())
|
self.set_value(not self.get_value())
|
||||||
|
|||||||
Reference in New Issue
Block a user