search_controller: pass thumbnail path to set_pixmap
This commit is contained in:
parent
738ece9cd5
commit
a73c2d6b02
@ -506,7 +506,7 @@ class SearchController:
|
|||||||
if 0 <= index < len(thumbs):
|
if 0 <= index < len(thumbs):
|
||||||
pix = QPixmap(path)
|
pix = QPixmap(path)
|
||||||
if not pix.isNull():
|
if not pix.isNull():
|
||||||
thumbs[index].set_pixmap(pix)
|
thumbs[index].set_pixmap(pix, path)
|
||||||
|
|
||||||
# -- Autocomplete --
|
# -- Autocomplete --
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user