mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Merge pull request #3534
9ab104b
DatePicker: display currently selected month when opening calendar (rating89us)
This commit is contained in:
commit
e3a17a66ff
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue