mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux drag-and-drop fix.
This commit is contained in:
parent
6d15cc2948
commit
d94a1afcdc
1 changed files with 1 additions and 1 deletions
|
|
@ -2516,7 +2516,7 @@ private:
|
|||
if (Atoms::isMimeTypeFile (dragAndDropCurrentMimeType))
|
||||
{
|
||||
for (int i = 0; i < lines.size(); ++i)
|
||||
dragInfo.files.add (URL::removeEscapeChars (lines[i].fromFirstOccurrenceOf ("file://", false, true)));
|
||||
dragInfo.files.add (URL::removeEscapeChars (lines[i].replace ("file://", String::empty, true)));
|
||||
|
||||
dragInfo.files.trim();
|
||||
dragInfo.files.removeEmptyStrings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue