Skip to content

Commit

Permalink
Make the media library clip previewer work again
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohayo committed Mar 1, 2012
1 parent ffaf55c commit ce8ce39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pitivi/mainwindow.py
Expand Up @@ -1150,7 +1150,7 @@ def _viewUri(self, path):
preview_window.hide() # Hack to allow setting the window position
previewer.previewUri(path)
previewer.setMinimal()
info = self.project.medialibrary.getInfoFromUri(path)
info = self.app.current.medialibrary.getInfoFromUri(path)
try:
# For videos and images, automatically resize the window
# Try to keep it 1:1 if it can fit within 85% of the parent window
Expand Down

0 comments on commit ce8ce39

Please sign in to comment.