diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 0e9188a277b383404e228d3f73088fe562d133b6..00b65fd6c3e30a6495ec4172062d0b6ae505d80a 100644 --- a/src/cutecoin/gui/community_tab.py +++ b/src/cutecoin/gui/community_tab.py @@ -140,7 +140,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): person = self.sender().data() index_wot_tab = self.tabs_information.indexOf(self.wot_tab) # redraw WoT with this member selected - self.wot_tab.draw_graph(person.pubkey) + self.wot_tab.draw_graph({'text': person.uid, 'id': person.pubkey}) # change page to WoT self.tabs_information.setCurrentIndex(index_wot_tab) diff --git a/src/cutecoin/gui/wot_tab.py b/src/cutecoin/gui/wot_tab.py index ccecdef97d549014471d948c1ad32a4fdfb611ed..6e8580fed0fbd7f52a8823e47a9776a05008ef77 100644 --- a/src/cutecoin/gui/wot_tab.py +++ b/src/cutecoin/gui/wot_tab.py @@ -58,8 +58,8 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): # create Person from node metadata person = Person.from_metadata(metadata) - person_account = Person.from_metadata({'text':self.account.name, - 'id':self.account.pubkey}) + person_account = Person.from_metadata({'text': self.account.name, + 'id': self.account.pubkey}) certifier_list = person.certifiers_of(self.community) certified_list = person.certified_by(self.community)