Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 22124 ]] Replace the content of a file property editor with dr… #2070

Open
wants to merge 1 commit into
base: develop-9.6
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,18 @@ on mouseUp pButton
end if
end if
end mouseUp

on dragEnter
if the dragData["files"] is empty then
pass dragEnter
end if
set the dragAction to "link"
end dragEnter

on dragDrop
if the dragData["files"] is empty then
pass dragDrop
end if
set the text of field 1 of me to line 1 of the dragData["files"]
valueChanged
end dragDrop
1 change: 1 addition & 0 deletions notes/bugfix-22124.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Replace content of file property editors when a file is dropped onto the field