17 ui->buttonBox->button(QDialogButtonBox::Ok)->setText(
tr(
"Create"));
18 ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(
false);
19 ui->wallet_name_line_edit->setFocus(Qt::ActiveWindowFocusReason);
21 connect(
ui->wallet_name_line_edit, &QLineEdit::textEdited,
23 ui->buttonBox->button(QDialogButtonBox::Ok)
24 ->setEnabled(!text.isEmpty());
27 connect(
ui->encrypt_wallet_checkbox, &QCheckBox::toggled,
32 ui->disable_privkeys_checkbox->setEnabled(!checked);
35 if (!ui->disable_privkeys_checkbox->isEnabled()) {
36 ui->disable_privkeys_checkbox->setChecked(false);