diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:43:32 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:43:32 -0500 |
| commit | 4aac66a024bfcd4259a6133abd670bc8f7289a55 (patch) | |
| tree | 026b820bc502cb44f45f684a12bb48f4353a3930 /components | |
| parent | 598de0f03fe2c1f3c9cddfb333e7dcdb0679002b (diff) | |
| parent | 131769f1754e9dcd268726a97cb9c20dbe7ae1ba (diff) | |
| download | monzero-gui-4aac66a024bfcd4259a6133abd670bc8f7289a55.tar.gz monzero-gui-4aac66a024bfcd4259a6133abd670bc8f7289a55.tar.xz monzero-gui-4aac66a024bfcd4259a6133abd670bc8f7289a55.zip | |
Merge pull request #2625
131769f fix dropdown closure behavior (tobtoht)
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 |
