diff options
| author | thotbot <thotbot@protonmail.com> | 2019-12-17 14:15:00 +0000 |
|---|---|---|
| committer | thotbot <thotbot@protonmail.com> | 2019-12-17 20:21:04 +0000 |
| commit | 131769f1754e9dcd268726a97cb9c20dbe7ae1ba (patch) | |
| tree | ef202780b679ab7c483ba5f30b3d03740516729d /components | |
| parent | 46227bdad08e191d54e49813ee2f4c0e3c226f95 (diff) | |
| download | monzero-gui-131769f1754e9dcd268726a97cb9c20dbe7ae1ba.tar.gz monzero-gui-131769f1754e9dcd268726a97cb9c20dbe7ae1ba.tar.xz monzero-gui-131769f1754e9dcd268726a97cb9c20dbe7ae1ba.zip | |
fix dropdown closure behavior
Diffstat (limited to 'components')
| -rw-r--r-- | components/DatePicker.qml | 1 | ||||
| -rw-r--r-- | components/StandardDropdown.qml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/components/DatePicker.qml b/components/DatePicker.qml index 1908e1b3..8b276c88 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -251,6 +251,7 @@ Item { QtQuickControls2.Popup { id: popup padding: 0 + closePolicy: QtQuickControls2.Popup.CloseOnEscape | QtQuickControls2.Popup.CloseOnPressOutsideParent Rectangle { id: calendarRect diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml index aefb5197..dca9ebe9 100644 --- a/components/StandardDropdown.qml +++ b/components/StandardDropdown.qml @@ -126,6 +126,7 @@ Item { Popup { id: popup padding: 0 + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent Rectangle { id: droplist |
