Browse Source

Fixes #1608

cl-refactor
Gav Wood 10 years ago
parent
commit
003fb51e06
  1. 10
      alethzero/MainWin.cpp

10
alethzero/MainWin.cpp

@ -890,12 +890,16 @@ void Main::on_usePrivate_triggered()
{
m_privateChain = QInputDialog::getText(this, "Enter Name", "Enter the name of your private chain", QLineEdit::Normal, QString("NewChain-%1").arg(time(0)));
if (m_privateChain.isEmpty())
ui->usePrivate->setChecked(false);
{
if (ui->usePrivate->isChecked())
ui->usePrivate->setChecked(false);
else
// was cancelled.
return;
}
}
else
{
m_privateChain.clear();
}
on_killBlockchain_triggered();
}

Loading…
Cancel
Save