Fix typo in 1cb14c21a9d2e8be066f764a3638ba324362ea67
This commit is contained in:
parent
ec41734969
commit
ddac70f40c
@ -328,7 +328,7 @@ void Calendar::nextYear()
|
|||||||
void Calendar::previousYear()
|
void Calendar::previousYear()
|
||||||
{
|
{
|
||||||
// Negative years don't make sense
|
// Negative years don't make sense
|
||||||
if (m_displayedDate.year() >= 0) {
|
if (m_displayedDate.year() >= 1) {
|
||||||
setDisplayedDate(m_displayedDate.addYears(-1));
|
setDisplayedDate(m_displayedDate.addYears(-1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user