Skip to content

Commit ea4e1b9

Browse files
committed
[BUG] Color settings aren’t working Fixes #511
1 parent 894fb48 commit ea4e1b9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

release/scripts/mgear/shifter/component/guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ def populate_controls(self):
13451345
(w for i in index_widgets for w in i[:2]),
13461346
(w for i in rgb_widgets for w in i[:2]),
13471347
"Use_RGB_Color",
1348-
tab.useRGB_checkBox.checkState(),
1348+
tab.useRGB_checkBox.isChecked(),
13491349
)
13501350

13511351
self.refresh_controls()

release/scripts/mgear/shifter/guide.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,12 +1753,13 @@ def populate_controls(self):
17531753
widget.setFixedSize(pyqt.dpi_scale(30), pyqt.dpi_scale(20))
17541754

17551755
self.populateCheck(tap.useRGB_checkBox, "Use_RGB_Color")
1756+
17561757
self.toggleRgbIndexWidgets(
17571758
tap.useRGB_checkBox,
17581759
(w for i in index_widgets for w in i[:2]),
17591760
(w for i in rgb_widgets for w in i[:2]),
17601761
"Use_RGB_Color",
1761-
tap.useRGB_checkBox.checkState(),
1762+
tap.useRGB_checkBox.isChecked(),
17621763
)
17631764

17641765
# pupulate custom steps sttings

0 commit comments

Comments
 (0)