Update the country flag properly.
This commit is contained in:
parent
1557679259
commit
770e0a0db6
|
@ -252,6 +252,7 @@ class PeersTab:
|
||||||
self.liststore.set_value(row, 4, peer["up_speed"])
|
self.liststore.set_value(row, 4, peer["up_speed"])
|
||||||
if peer["country"] != values[2]:
|
if peer["country"] != values[2]:
|
||||||
self.liststore.set_value(row, 5, peer["country"])
|
self.liststore.set_value(row, 5, peer["country"])
|
||||||
|
self.liststore.set_value(row, 0, self.get_flag_pixbuf(peer["country"]))
|
||||||
if peer["seed"]:
|
if peer["seed"]:
|
||||||
icon = self.seed_pixbuf
|
icon = self.seed_pixbuf
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue