Merge pull request #7327
30cdace
[Wallet] Transaction View: LastMonth calculation fixed (crowning-)
This commit is contained in:
commit
c079d79c9a
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ void TransactionView::chooseDate(int idx)
|
||||||
break;
|
break;
|
||||||
case LastMonth:
|
case LastMonth:
|
||||||
transactionProxyModel->setDateRange(
|
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)));
|
QDateTime(QDate(current.year(), current.month(), 1)));
|
||||||
break;
|
break;
|
||||||
case ThisYear:
|
case ThisYear:
|
||||||
|
|
Loading…
Add table
Reference in a new issue