Skip to content

Commit

Permalink
Fix crash on reload
Browse files Browse the repository at this point in the history
Fix #128
  • Loading branch information
Setsugennoao committed May 1, 2024
1 parent 44ab121 commit ad7d33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vspreview/main/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def load_script(
if self.storage_not_found or reload_from_error:
self.load_storage()

if not reloading:
if not reloading or (self.outputs is None):
self.toolbars.main.rescan_outputs()
self.toolbars.playback.rescan_outputs()

Expand Down

0 comments on commit ad7d33f

Please sign in to comment.