Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Apr 14, 2024
1 parent c9d057c commit a75a593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/HolocronToolset/src/toolset/gui/windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,8 @@ def dropEvent(self, e: QtGui.QDropEvent | None):
filepath: str = url.toLocalFile()
data = BinaryReader.load_file(filepath)
resname, restype = ResourceIdentifier.from_path(filepath).unpack()
if not restype:
continue
openResourceEditor(
filepath,
resname,
Expand Down

0 comments on commit a75a593

Please sign in to comment.