make send coins dialog more user friendly (better checking)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user