TouchButtFrame fix
This commit is contained in:
@@ -51,6 +51,7 @@ void TouchButtFrame::setButtons(const QStringList & captions) {
|
||||
addButton(QString(captions.at(i)).replace("\\n", "\n"));
|
||||
if (button(cur) != 0) button(cur)->setChecked(true);
|
||||
else if (!captions.isEmpty()) button(0)->setChecked(true);
|
||||
resetColors();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user