Skip to content

Commit

Permalink
set current date when clicking on calendar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed May 14, 2024
1 parent 0de739c commit 453b828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/form/editors/MMFormCalendarEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MMPrivateComponents.MMBaseSingleLineInput {
textField.readOnly: true

onTextClicked: root.openCalendar()
onRightContentClicked: root.openCalendar()
onRightContentClicked: root.newDateSelected( new Date() )

rightContent: MMComponents.MMIcon {
id: rightIcon
Expand Down

0 comments on commit 453b828

Please sign in to comment.