[Wallet] Transaction View: LastMonth calculation fixed
Github-Pull: #7327 Rebased-From: 30cdacea3c356acda32ab77238f07c1c40b1f1b5
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