mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
[Wallet] Transaction View: LastMonth calculation fixed
Github-Pull: #7327
Rebased-From: 30cdacea3c
This commit is contained in:
parent
351ffd8482
commit
a74fa1f06b
@ -267,7 +267,7 @@ void TransactionView::chooseDate(int idx)
|
||||
break;
|
||||
case LastMonth:
|
||||
transactionProxyModel->setDateRange(
|
||||
QDateTime(QDate(current.year(), current.month()-1, 1)),
|
||||
QDateTime(QDate(current.year(), current.month(), 1).addMonths(-1)),
|
||||
QDateTime(QDate(current.year(), current.month(), 1)));
|
||||
break;
|
||||
case ThisYear:
|
||||
|
Loading…
Reference in New Issue
Block a user