mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
[Wallet] Transaction View: LastMonth calculation fixed
This commit is contained in:
parent
dd1304ec21
commit
30cdacea3c
@ -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