Fix #5843 (Book covers not displaying when in device view)

This commit is contained in:
Kovid Goyal 2010-06-15 11:16:09 -06:00
parent 9e31b075da
commit 6db976e5aa

View File

@ -109,7 +109,7 @@ class CoverView(QWidget): # {{{
def show_data(self, data): def show_data(self, data):
self.animation.stop() self.animation.stop()
if data.get('id', None) == self.data.get('id', None): if data.get('id', True) == self.data.get('id', False):
return return
self.data = {'id':data.get('id', None)} self.data = {'id':data.get('id', None)}
if data.has_key('cover'): if data.has_key('cover'):