Skip to content

Commit

Permalink
fix: pass save_id to get_file_path
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Feb 23, 2024
1 parent 40805a6 commit 3c8110f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ dependencies = [
"psutil",
"pypresence",
"pyside6",
"requests"
"requests",
"setuptools"
]

[project.scripts]
Expand Down
3 changes: 2 additions & 1 deletion wii_music_editor/ui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ def SE_Patchable(self):

def Button_SE_SongToChange(self, song: bool = False):
try:
midiPath = get_file_path(f"{tr('file', 'Midi-Type File')} (*.midi *.mid *.brseq *.rseq)")
midiPath = get_file_path(f"{tr('file', 'Midi-Type File')} (*.midi *.mid *.brseq *.rseq)",
"midi")
if midiPath != "":
midi = Midi(Path(midiPath))
if song:
Expand Down

0 comments on commit 3c8110f

Please sign in to comment.