Fix combobox behaviour in AOOptionsdialog (#938)

They would not behave correctly otherwise.
This commit is contained in:
Salanto 2024-02-28 18:42:56 +01:00 committed by GitHub
parent 30bfd8888c
commit ddd72110bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ void AOOptionsDialog::setWidgetData(QComboBox *widget, const QString &value)
template <> QString AOOptionsDialog::widgetData(QComboBox *widget) const template <> QString AOOptionsDialog::widgetData(QComboBox *widget) const
{ {
return widget->currentData().toString(); return widget->currentText();
} }
template <> template <>