diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp index be7741e8a8c..0876e3fd714 100644 --- a/src/qt/receivecoinsdialog.cpp +++ b/src/qt/receivecoinsdialog.cpp @@ -72,6 +72,9 @@ void ReceiveCoinsDialog::setModel(WalletModel *_model) { this->model = _model; + setWindowTitle(tr("Request payments - %1").arg(model->getWalletName())); + + if(_model && _model->getOptionsModel()) { _model->getRecentRequestsTableModel()->sort(RecentRequestsTableModel::Date, Qt::DescendingOrder); diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 3c331c70efd..65f75e54fea 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -145,7 +145,9 @@ void SendCoinsDialog::setClientModel(ClientModel *_clientModel) void SendCoinsDialog::setModel(WalletModel *_model) { this->model = _model; - + + setWindowTitle(tr("Send Coins - %1").arg(model->getWalletName())); + if(_model && _model->getOptionsModel()) { for(int i = 0; i < ui->entries->count(); ++i)