Fix bug #730 and #751 where DND images are loaded twice.

This commit is contained in:
Tim 2021-01-28 14:01:09 +00:00
parent c7112a1f78
commit 7c57f1168d
No known key found for this signature in database
GPG Key ID: 3D454289AF831A6D
1 changed files with 2 additions and 1 deletions

View File

@ -378,7 +378,8 @@ class MediaManagerItem(QtWidgets.QWidget, RegistryProperties):
if new_file_paths:
if 'target' in data:
self.validate_and_load(new_file_paths, data['target'])
self.validate_and_load(new_file_paths)
else:
self.validate_and_load(new_file_paths)
def dnd_move_internal(self, target):
"""