Fix combobox behaviour in AOOptionsdialog (#938)
They would not behave correctly otherwise.
This commit is contained in:
parent
30bfd8888c
commit
ddd72110bd
@ -116,7 +116,7 @@ void AOOptionsDialog::setWidgetData(QComboBox *widget, const QString &value)
|
||||
|
||||
template <> QString AOOptionsDialog::widgetData(QComboBox *widget) const
|
||||
{
|
||||
return widget->currentData().toString();
|
||||
return widget->currentText();
|
||||
}
|
||||
|
||||
template <>
|
||||
|
Loading…
Reference in New Issue
Block a user