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 27429bf4..912b1c49 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -250,6 +250,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 |
