mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-04 14:03:59 +01:00
PasswordDialog: UI improvements
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "utils/Icons.h"
|
||||
|
||||
PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword, QWidget *parent)
|
||||
PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword, bool sensitive, QWidget *parent)
|
||||
: WindowModalDialog(parent)
|
||||
, ui(new Ui::PasswordDialog)
|
||||
{
|
||||
@@ -15,6 +15,7 @@ PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword
|
||||
this->setWindowIcon(icons()->icon("appicons/64x64.png"));
|
||||
ui->label_wallet->setText(QString("Please enter password for wallet: %1").arg(walletName));
|
||||
ui->label_incorrectPassword->setVisible(incorrectPassword);
|
||||
ui->label_sensitive->setVisible(sensitive);
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, [this]{
|
||||
password = ui->line_password->text();
|
||||
|
||||
Reference in New Issue
Block a user