From ba755e50a364c350be8a5b9c1752b333d761da0b Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Tue, 11 Jul 2023 14:57:41 +0200 Subject: [PATCH] Utils: Fix inverted logic for checkableDecider (continued) Amends 6b6b1198dd5050a7a896ac9c7505ebcf2c9bce17 The commit above made sure that the display of the dialog was in sync with the checkbox in the settings dialog. Now also the "Do not show again" checkbox in the messagebox will be reflected in the settings dialog. Change-Id: Ieb186b134adac09c9846a64144056b3b89d297d8 Reviewed-by: hjk --- src/libs/utils/aspects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/aspects.cpp b/src/libs/utils/aspects.cpp index 9bc51c7f530..b11e149c0d5 100644 --- a/src/libs/utils/aspects.cpp +++ b/src/libs/utils/aspects.cpp @@ -1611,7 +1611,7 @@ CheckableDecider BoolAspect::askAgainCheckableDecider() { return CheckableDecider( [this] { return value(); }, - [this] { setValue(true); } + [this] { setValue(false); } ); }