Prefer to receive URI-lists for DnD
This fixes an issue when embedding external files with ISO or some non ASCII encodings (KDE/dolphin file-manager does not UTF-8 encode filenames for plain/text DnD). But does so for URIs. See also #7253 and previous commit
This commit is contained in:
parent
1846476127
commit
8ae4fe1aa9
@ -241,8 +241,8 @@ EditorRegions::EditorRegions (Editor* e)
|
||||
|
||||
list<TargetEntry> region_list_target_table;
|
||||
|
||||
region_list_target_table.push_back (TargetEntry ("text/plain"));
|
||||
region_list_target_table.push_back (TargetEntry ("text/uri-list"));
|
||||
region_list_target_table.push_back (TargetEntry ("text/plain"));
|
||||
region_list_target_table.push_back (TargetEntry ("application/x-rootwin-drop"));
|
||||
|
||||
_display.add_drop_targets (region_list_target_table);
|
||||
|
Loading…
Reference in New Issue
Block a user