Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlGao4 committed Mar 13, 2024
2 parents fb47b25 + 9a28d3c commit 6b469fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GUI/GuiMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def browseLocation(self):
@shared.thread_wrapper(daemon=True)
def save(self, file, origin, tensor, save_func, item, finishCallback):
self.saving += 1
main_window.mixer.setEnable(False)
main_window.mixer.setEnabled(False)
finishCallback(shared.FileStatus.Writing, item)
for stem, stem_data in main_window.mixer.mix(origin, tensor):
file_path_str = self.loc_input.currentText().format(
Expand Down Expand Up @@ -968,7 +968,7 @@ def save(self, file, origin, tensor, save_func, item, finishCallback):
save_func(file_path, data, self.sample_fmt.currentData())
self.saving -= 1
if self.saving == 0:
main_window.mixer.setEnable(True)
main_window.mixer.setEnabled(True)
finishCallback(shared.FileStatus.Finished, item)


Expand Down

0 comments on commit 6b469fd

Please sign in to comment.