summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2019-01-08 14:00:12 +0200
committerKatja Marttila <katja.marttila@qt.io>2019-01-09 05:42:32 +0000
commitbf87c91dfe16881c366775549364862372dde8f7 (patch)
tree8b8b1104e6fa195925b3854a1911f5a12239f8ee
parent9dacee18f9b7211699164bc70dd17f9934a15f50 (diff)
Fix ability to select node which children are unstable
Task-number: QTIFW-1260 Change-Id: If806f62382eb430c858cb483e3bd25562df7b21a Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r--src/libs/installer/componentmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/componentmodel.cpp b/src/libs/installer/componentmodel.cpp
index 186b37e41..69c709060 100644
--- a/src/libs/installer/componentmodel.cpp
+++ b/src/libs/installer/componentmodel.cpp
@@ -585,7 +585,7 @@ QSet<QModelIndex> ComponentModel::updateCheckedState(const ComponentSet &compone
checkable = false;
}
- if ((!node->isCheckable() && checkable) || !node->isEnabled() || !node->autoDependencies().isEmpty())
+ if ((!node->isCheckable() && checkable) || !node->isEnabled() || !node->autoDependencies().isEmpty() || node->isUnstable())
continue;
Qt::CheckState newState = state;