diff options
-rw-r--r-- | client/widgets/combobox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index db8fc2d..2bf6087 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -122,7 +122,7 @@ void ComboBox::setValue(QString value) { int idx = findData(value); - if(idx != -1) setCurrentIndex(idx); + setCurrentIndex(idx); } bool ComboBox::isValid() |