Change setAvailableDates to setValues of SelectDialog
This commit is contained in:
@@ -93,7 +93,7 @@ GeneralForm::GeneralForm(QWidget* parent) : QWidget(parent)
|
||||
dialog = new SelectDialog(this);
|
||||
dialog->setWindowModality(Qt::WindowModal);
|
||||
}
|
||||
dialog->setAvailableDates(JsonObject::Instance()->language());
|
||||
dialog->setValues(JsonObject::Instance()->language());
|
||||
dialog->setSelectedValue(JsonObject::Instance()->defaultLanguage());
|
||||
if (dialog->exec() == QDialog::Accepted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user