fix(StatusChatInput): allow image drop only if currently visible

Fixes #10885
This commit is contained in:
Teodor M. Ionita 2023-09-21 12:07:34 +03:00 committed by Shinnok
parent 18a50c6de5
commit 8969b410f4
1 changed files with 1 additions and 0 deletions

View File

@ -910,6 +910,7 @@ Rectangle {
Connections {
target: Global.dragArea
enabled: control.visible
ignoreUnknownSignals: true
function onDroppedOnValidScreen(drop) {
let dropUrls = drop.urls