aboutsummaryrefslogtreecommitdiff
path: root/gui/src/bitcoingui.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2011-05-15 19:31:20 +0200
committerWladimir J. van der Laan <[email protected]>2011-05-15 19:31:20 +0200
commit992ff49b43cd9110fc8ce41151f7555458dcf4dc (patch)
tree589c25b9608f671e9ca4be7f32e384c931ab19a7 /gui/src/bitcoingui.cpp
parentupdate to bitcoin-git (diff)
downloaddiscoin-992ff49b43cd9110fc8ce41151f7555458dcf4dc.tar.xz
discoin-992ff49b43cd9110fc8ce41151f7555458dcf4dc.zip
make send coins dialog more user friendly (better checking)
Diffstat (limited to 'gui/src/bitcoingui.cpp')
-rw-r--r--gui/src/bitcoingui.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/src/bitcoingui.cpp b/gui/src/bitcoingui.cpp
index 4af703cf8..760789a01 100644
--- a/gui/src/bitcoingui.cpp
+++ b/gui/src/bitcoingui.cpp
@@ -211,7 +211,12 @@ void BitcoinGUI::addressbookClicked()
qDebug() << "Address book clicked";
AddressBookDialog dlg;
dlg.setTab(AddressBookDialog::SendingTab);
- dlg.exec();
+ /* if an address accepted, do a 'send' to specified address */
+ if(dlg.exec())
+ {
+ SendCoinsDialog send(0, dlg.getReturnValue());
+ send.exec();
+ }
}
void BitcoinGUI::receivingAddressesClicked()