diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-10 21:06:35 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-03-17 16:10:01 -0400 |
commit | fab8a6f609d15863545955d6523c616c2a97eeab (patch) | |
tree | a6ec9f9c5572e341ac150f470ed7dc24accfae28 /src/qt/editaddressdialog.cpp | |
parent | 7be9a9a570c1140048f8781ced1111e1d930e517 (diff) |
wallet: Change output type globals to members
Diffstat (limited to 'src/qt/editaddressdialog.cpp')
-rw-r--r-- | src/qt/editaddressdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index a945fc6aa0..ba2f7d0d1d 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -11,7 +11,6 @@ #include <QDataWidgetMapper> #include <QMessageBox> -extern OutputType g_address_type; EditAddressDialog::EditAddressDialog(Mode _mode, QWidget *parent) : QDialog(parent), @@ -80,7 +79,7 @@ bool EditAddressDialog::saveCurrentRow() mode == NewSendingAddress ? AddressTableModel::Send : AddressTableModel::Receive, ui->labelEdit->text(), ui->addressEdit->text(), - g_address_type); + model->GetDefaultAddressType()); break; case EditReceivingAddress: case EditSendingAddress: |