mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
Reverse the condition to display warning
Actually the condition should be the opposite, because the option says "Do NOT store..." Display warning when it is checked.
This commit is contained in:
@@ -56,9 +56,9 @@ public:
|
||||
walletWarning->hide();
|
||||
vboxLayout->addWidget(walletWarning);
|
||||
|
||||
// show warning when "noWallet" checkbox is unchecked
|
||||
// show warning when "noWallet" checkbox is checked
|
||||
QObject::connect(kcfg_noWallet, &QCheckBox::toggled, [this](bool checked){
|
||||
walletWarning->setVisible(!checked);
|
||||
walletWarning->setVisible(checked);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user