diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-02-28 18:42:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 11:42:56 -0600 |
| commit | ddd72110bd5076cb2051355a1e2f92e4e9df5c34 (patch) | |
| tree | e59ebc3c175cc9e4adfba5a04c038f3bd3adb961 | |
| parent | 30bfd8888c79066ae165c39214c3a1057e4f9482 (diff) | |
Fix combobox behaviour in AOOptionsdialog (#938)
They would not behave correctly otherwise.
| -rw-r--r-- | src/widgets/aooptionsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/aooptionsdialog.cpp b/src/widgets/aooptionsdialog.cpp index e25b3805..0945bb32 100644 --- a/src/widgets/aooptionsdialog.cpp +++ b/src/widgets/aooptionsdialog.cpp @@ -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 <> |
