appending providers fix

This commit is contained in:
DYefremov
2021-02-26 13:11:19 +03:00
parent e1a5b8e39d
commit 1cada0408f

View File

@@ -508,8 +508,8 @@ class PiconsDialog:
@run_idle
def append_providers(self, providers, model):
for p in providers:
print(p)
# model.append((self.get_pixbuf(p[0]) if p[0] else TV_ICON, *p[1:]))
prv = p._replace(logo=self.get_pixbuf(p[0]) if p[0] else TV_ICON)
model.append(prv)
self.update_receive_button_state()
def get_pixbuf(self, img_data):