From 3573708656939497dd82c9fa2fec30b27508639e Mon Sep 17 00:00:00 2001 From: xonx <119700621+xonx4l@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:56:52 +0530 Subject: [PATCH 1/2] Update sendcoinsdialog.cpp issue-: #259 --- src/qt/sendcoinsdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) From 4e1c91352e032649f6f048d8aae170188e5d6bcc Mon Sep 17 00:00:00 2001 From: xonx <119700621+xonx4l@users.noreply.github.com> Date: Thu, 11 Jan 2024 00:05:01 +0530 Subject: [PATCH 2/2] Update receivecoinsdialog.cpp --- src/qt/receivecoinsdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) 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);