Skip to content

Commit 9b41339

Browse files
mohsenD98nirvn
authored andcommitted
Avoid people interacting with the UI while the busy overlay is visible.
(e.g. while uploading to webDAV, users shouldn't be allowed to select other files or navigate to other pages)
1 parent eb71203 commit 9b41339

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/qml/BusyOverlay.qml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,16 @@ Rectangle {
133133
id: busyMessageFontMetrics
134134
font: busyMessage.font
135135
}
136+
137+
MouseArea {
138+
id: busyOverlayCatcher
139+
anchors.fill: parent
140+
enabled: busyOverlay.visible
141+
142+
onClicked: mouse => {
143+
// Needed to avoid people interacting with the UI while the busy overlay is visible
144+
// (e.g. while uploading to webDAV, users shouldn't be allowed to select other files or navigate to other pages)
145+
return;
146+
}
147+
}
136148
}

0 commit comments

Comments
 (0)