Permalink
Browse files

Make the media library clip previewer work again

  • Loading branch information...
1 parent ffaf55c commit ce8ce3952635774e47ce1a9a73b163de91a31843 @nekohayo nekohayo committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pitivi/mainwindow.py
@@ -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

0 comments on commit ce8ce39

Please sign in to comment.