summaryrefslogtreecommitdiffstats
path: root/framework/qml/Outbox.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-07 09:54:17 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-07 09:54:17 +0200
commit71b8f65dbb0d50e6545242f65a568a22c85f0fae (patch)
treed3d32f5a45e953144fe9f36ace8884bc14245194 /framework/qml/Outbox.qml
parent027650c76012f932849071465bf8762d731e99c9 (diff)
downloadkube-71b8f65dbb0d50e6545242f65a568a22c85f0fae.tar.gz
kube-71b8f65dbb0d50e6545242f65a568a22c85f0fae.zip
Consistently give focus to popups
In all cases we want the popup to receive keyboard focus when it's open, as all our popups are basically modal. We also want the popup to normally close when clicking somewhere else, including the parent button. The one exception is the composer where we disable the close on click outside because that would risk loosing a written mail on an accidental click.
Diffstat (limited to 'framework/qml/Outbox.qml')
-rw-r--r--framework/qml/Outbox.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml
index ad398337..e9e3c677 100644
--- a/framework/qml/Outbox.qml
+++ b/framework/qml/Outbox.qml
@@ -82,8 +82,6 @@ Rectangle {
82 y: - dialog.height + root.height 82 y: - dialog.height + root.height
83 x: root.width 83 x: root.width
84 84
85 modal: true
86
87 Item { 85 Item {
88 id: content 86 id: content
89 87