From db39511c4dd95effed662f3d91f03c622eefe216 Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Thu, 9 Apr 2015 23:09:26 +0200 Subject: [PATCH] Fix menu "View in Wot" broken --- src/cutecoin/gui/community_tab.py | 2 +- src/cutecoin/gui/wot_tab.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 0e9188a2..00b65fd6 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 ccecdef9..6e8580fe 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) -- GitLab