Commit f1abcaf7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Small logic fix

parent bc7e3f2c
......@@ -175,7 +175,7 @@ bool TargetSetupPage::hasSelection() const
QTreeWidgetItem * current = m_treeWidget->topLevelItem(i);
for (int j = 0; j < current->childCount(); ++j) {
QTreeWidgetItem * child = current->child(j);
if (child->checkState(0) != Qt::Checked)
if (child->checkState(0) == Qt::Checked)
return true;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment