From 9ab0510eaf020d43b9021ef17882884b61ad4282 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 7 Jun 2022 10:06:39 +0200 Subject: Aspects: Update of combo box when changing TriState value Call SelectionAspect::setValue instead of skipping it and calling BaseAspect::setValue directly. That takes care of updating the combo box state. Amends c8829ff5b38bf46b8c31590228a93e1aba4a829a Change-Id: I55e90459c2b54da09883f746b61b19d46acfdf92 Reviewed-by: Reviewed-by: Qt CI Bot Reviewed-by: Christian Stenger Reviewed-by: hjk --- src/libs/utils/aspects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/utils/aspects.cpp') diff --git a/src/libs/utils/aspects.cpp b/src/libs/utils/aspects.cpp index cac5f7148c..998d9fa5cc 100644 --- a/src/libs/utils/aspects.cpp +++ b/src/libs/utils/aspects.cpp @@ -1994,7 +1994,7 @@ TriState TriStateAspect::value() const void TriStateAspect::setValue(TriState value) { - BaseAspect::setValue(value.toVariant()); + SelectionAspect::setValue(value.toInt()); } void TriStateAspect::setDefaultValue(TriState value) -- cgit v1.2.1