Skip to content

Commit

Permalink
Fix drag and drop (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo authored Aug 11, 2023
1 parent 47f8096 commit 4730788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def dropEvent(self, event):
# Load
self.commands.openProject(filename=filenames[0], first_open=True)

elif all([ext.lower() in available_video_exts() for ext in exts]):
elif all([ext.lower()[1:] in available_video_exts() for ext in exts]):
# Import videos
self.commands.showImportVideos(filenames=filenames)

Expand Down

0 comments on commit 4730788

Please sign in to comment.