summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-03 21:16:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-03 21:16:48 +0100
commit56bdd3ba1dcfb2153e31e8479c7268ddcb620ddd (patch)
tree7e9cd29d2edfde96acddd09d4faf5811c34eca7d
parente81ddcffb98d8a20fe55bca5fea08e854d19ef06 (diff)
reload combobox item to avoid empty w/ just one item
-rw-r--r--facetracknoir/options.h1
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<>