diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/DatePicker.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/DatePicker.qml b/components/DatePicker.qml index 8a79b2e8..554c731a 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -252,6 +252,10 @@ Item { id: popup padding: 0 closePolicy: QtQuickControls2.Popup.CloseOnEscape | QtQuickControls2.Popup.CloseOnPressOutsideParent + onOpened: { + calendar.visibleMonth = currentDate.getMonth(); + calendar.visibleYear = currentDate.getFullYear(); + } Rectangle { id: calendarRect |
