1
0
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:
Alexey Min
2019-01-16 11:02:12 +03:00
parent 313b4bbc67
commit 554f2994cc

View File

@@ -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);
});
}