From 8769b1232e5d47c4d5d849e89cf1fe4d6fde1253 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 12 May 2024 09:09:22 +0200 Subject: [PATCH] planner: initialize currCombo.ignoreSelection I am not sure what this does, but it should be initialized before it is tested. Signed-off-by: Berthold Stoeger --- desktop-widgets/modeldelegates.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop-widgets/modeldelegates.cpp b/desktop-widgets/modeldelegates.cpp index ccda7c9b4..e14b57f25 100644 --- a/desktop-widgets/modeldelegates.cpp +++ b/desktop-widgets/modeldelegates.cpp @@ -130,6 +130,7 @@ QWidget *ComboBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewI currCombo.currRow = index.row(); currCombo.model = const_cast(index.model()); currCombo.activeText = currCombo.model->data(index).toString(); + currCombo.ignoreSelection = false; return comboDelegate; }