Bugfix when new code is set from TellStick Duo
This commit is contained in:
parent
bb1d082e6f
commit
8eae8ee108
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ void DeviceSettingSartano::setValue( const QString &name, const QString &value )
|
||||||
for (int i = 0; i < 10; ++i) {
|
for (int i = 0; i < 10; ++i) {
|
||||||
if (value[i] == '0') {
|
if (value[i] == '0') {
|
||||||
button1[i]->setChecked(true);
|
button1[i]->setChecked(true);
|
||||||
|
} else {
|
||||||
|
button0[i]->setChecked(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue