This commit is contained in:
Jon Tibble 2011-03-15 12:56:47 +00:00
parent fbcae75702
commit 89cf1f8c8c
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class ImageMediaItem(MediaManagerItem):
bitem = self.listView.item(item.row())
filepath = unicode(bitem.data(QtCore.Qt.UserRole).toString())
if os.path.exists(filepath):
filename = os.path.split(filename)[1]
filename = os.path.split(filepath)[1]
self.parent.liveController.display.directImage(filename,
filepath)
self.resetAction.setVisible(True)