forked from qt-creator/qt-creator
Utils: Fix inverted logic for checkableDecider (continued)
Amends 6b6b1198dd
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 <hjk@qt.io>
This commit is contained in:
@@ -1611,7 +1611,7 @@ CheckableDecider BoolAspect::askAgainCheckableDecider()
|
|||||||
{
|
{
|
||||||
return CheckableDecider(
|
return CheckableDecider(
|
||||||
[this] { return value(); },
|
[this] { return value(); },
|
||||||
[this] { setValue(true); }
|
[this] { setValue(false); }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user