Set the combo box to the actual rating in the configuration
This commit is contained in:
parent
ad933d96dd
commit
0166cb0360
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ GeneralPage::GeneralPage(DanbooruSettings* preferences, QWidget* parent): QWidge
|
||||||
QRegularExpression regex(urlRegex);
|
QRegularExpression regex(urlRegex);
|
||||||
QRegularExpressionValidator* validator = new QRegularExpressionValidator(regex);
|
QRegularExpressionValidator* validator = new QRegularExpressionValidator(regex);
|
||||||
kcfg_Boards->lineEdit()->setValidator(validator);
|
kcfg_Boards->lineEdit()->setValidator(validator);
|
||||||
|
kcfg_MaxRating->setCurrentIndex(preferences->maxRating());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue