[Wallet] Transaction View: LastMonth calculation fixed
This commit is contained in:
parent
dd1304ec21
commit
30cdacea3c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue