fix: Fixed bug that crashes matrix_text when encoders are present

main
Pieterv24 2021-04-27 12:04:55 +02:00
parent fdb61a6a11
commit f0e577b2bc
1 changed files with 7 additions and 6 deletions

View File

@ -89,6 +89,7 @@ class MatrixTest(BasicEditor):
# write matrix state to keyboard widget # write matrix state to keyboard widget
for w in self.keyboardWidget.widgets: for w in self.keyboardWidget.widgets:
if w.desc.row is not None and w.desc.col is not None:
row = w.desc.row row = w.desc.row
col = w.desc.col col = w.desc.col