Optimize passphrase line edit visibility in certify key popup.

WLineEdit::isVisible always returns false when the popup is hidden !
This commit is contained in:
SET
2020-11-07 22:28:33 +01:00
parent 2bddf29596
commit fd583c091a

View File

@@ -69,7 +69,8 @@ public:
*/ */
bool IsPasswordVisible() const bool IsPasswordVisible() const
{ {
return m_lePassphrase->isVisible(); // isVisible is always false when the popup is hidden !
return !(m_lePassphrase->isHidden());
} }
/** /**
* Used to forward the passphrase to the loopback passphrase provider. * Used to forward the passphrase to the loopback passphrase provider.