diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-03 21:16:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-03 21:16:48 +0100 |
commit | 56bdd3ba1dcfb2153e31e8479c7268ddcb620ddd (patch) | |
tree | 7e9cd29d2edfde96acddd09d4faf5811c34eca7d /facetracknoir/options.h | |
parent | e81ddcffb98d8a20fe55bca5fea08e854d19ef06 (diff) |
reload combobox item to avoid empty w/ just one item
Diffstat (limited to 'facetracknoir/options.h')
-rw-r--r-- | facetracknoir/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/facetracknoir/options.h b/facetracknoir/options.h index bc53a456..edcbf193 100644 --- a/facetracknoir/options.h +++ b/facetracknoir/options.h @@ -262,6 +262,7 @@ namespace options { base_value::connect(cb, SIGNAL(currentTextChanged(QString)), &v, SLOT(setValue(QString)), v.CONNTYPE); base_value::connect(&v, SIGNAL(valueChanged(QString)), cb, SLOT(setCurrentText(QString)), v.CONNTYPE); cb->setCurrentText(v); + v = cb->currentText(); } template<> |