summaryrefslogtreecommitdiffhomepage
path: root/options/tie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/tie.cpp')
-rw-r--r--options/tie.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/options/tie.cpp b/options/tie.cpp
index 0ac1c5bf..db39251b 100644
--- a/options/tie.cpp
+++ b/options/tie.cpp
@@ -38,13 +38,10 @@ void tie_setting(value<QVariant>& v, QComboBox* cb)
int idx = -1;
for (int k = 0; k < sz; k++)
- {
- if (cb->itemData(k) == var)
- {
+ if (cb->itemData(k) == var) {
idx = k;
break;
}
- }
cb->setCurrentIndex(idx);
return idx;
};