aboutsummaryrefslogtreecommitdiff
path: root/gui/src/bitcoingui.cpp
diff options
context:
space:
mode:
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()