Skip to content

Commit

Permalink
Fix URL-to-string conversion bug on Windows that was preventing drag …
Browse files Browse the repository at this point in the history
…and drop items from uploading properly.

Signed-off-by: FERMI\Joey Kleingers <joey.kleingers@bluequartz.net>
  • Loading branch information
joeykleingers committed Jun 9, 2023
1 parent d4516d2 commit bd898b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaforge/models/uselistmodel.py
Expand Up @@ -20,7 +20,7 @@ def canDropMimeData(self, data, action, row, column, parent):
def dropMimeData(self, data, action, row, column, parent):
for file in data.urls():
#if file.isLocalDirectory():
self.addRow(Path(file.path()))
self.addRow(Path(file.toLocalFile()))
return True


Expand Down

0 comments on commit bd898b7

Please sign in to comment.