make send coins dialog more user friendly (better checking)

This commit is contained in:
Wladimir J. van der Laan
2011-05-15 19:31:20 +02:00
parent 85663f2c18
commit 992ff49b43
6 changed files with 68 additions and 30 deletions

View File

@@ -127,6 +127,12 @@ void AddressBookDialog::on_buttonBox_accepted()
QVariant address = table->model()->data(index);
returnValue = address.toString();
}
accept();
if(!returnValue.isEmpty())
{
accept();
}
else
{
reject();
}
}