fix dropdown closure behavior

This commit is contained in:
thotbot 2019-12-17 14:15:00 +00:00
parent 46227bdad0
commit 131769f175
2 changed files with 2 additions and 0 deletions

View file

@ -251,6 +251,7 @@ Item {
QtQuickControls2.Popup {
id: popup
padding: 0
closePolicy: QtQuickControls2.Popup.CloseOnEscape | QtQuickControls2.Popup.CloseOnPressOutsideParent
Rectangle {
id: calendarRect

View file

@ -126,6 +126,7 @@ Item {
Popup {
id: popup
padding: 0
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
Rectangle {
id: droplist