diff options
author | deva <deva> | 2008-09-10 10:01:58 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-10 10:01:58 +0000 |
commit | bb1b44ae445238dc8b4b97f42f7050ac7f3d06bb (patch) | |
tree | 9be5da48a54663be389bfbdc1038a5f92dbf994e /client/widgets | |
parent | 5652f86efda63c232cef9d626f934080340ff40e (diff) |
Made combobox setValue with invalid string unselect.
Diffstat (limited to 'client/widgets')
-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() |