diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-11-08 19:54:16 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-11-08 19:54:16 +0100 |
commit | 9bc9593df56c2995fec1312d57225e4c887ee5ca (patch) | |
tree | cab9da7d76601734e77c2682d930f8f4068b394e /src/qt/editaddressdialog.cpp | |
parent | e1739cbf386dd7a6eb4f748f11eece300f813276 (diff) |
Fix segmentation fault when editing address not in address book (issue #615)
Diffstat (limited to 'src/qt/editaddressdialog.cpp')
-rw-r--r-- | src/qt/editaddressdialog.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index b8e6fe4578..457e8cf0dc 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -113,3 +113,9 @@ QString EditAddressDialog::getAddress() const { return address; } + +void EditAddressDialog::setAddress(const QString &address) +{ + this->address = address; + ui->addressEdit->setText(address); +} |