diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 85ab4f7d19fd55be3d6fcb1d769e2673168fafa9..00b65fd6c3e30a6495ec4172062d0b6ae505d80a 100644 --- a/src/cutecoin/gui/community_tab.py +++ b/src/cutecoin/gui/community_tab.py @@ -127,7 +127,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): dialog.radio_pubkey.setChecked(True) if dialog.exec_() == QDialog.Accepted: currency_tab = self.window().currencies_tabwidget.currentWidget() - currency_tab.table_history.model().invalidate() + currency_tab.tab_history.table_history.model().invalidate() def certify_member(self, person): dialog = CertificationDialog(self.account, self.password_asker) @@ -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/mainwindow.py b/src/cutecoin/gui/mainwindow.py index f2ff8d8b9754860d61f883e1c839defabcfa2666..d58a79120067ff7d30a8fff7fb5e9c5f150c0037 100644 --- a/src/cutecoin/gui/mainwindow.py +++ b/src/cutecoin/gui/mainwindow.py @@ -194,7 +194,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): dialog.accepted.connect(self.refresh_wallets) if dialog.exec_() == QDialog.Accepted: currency_tab = self.currencies_tabwidget.currentWidget() - currency_tab.table_history.model().invalidate() + currency_tab.tab_history.table_history.model().invalidate() def open_certification_dialog(self): dialog = CertificationDialog(self.app.current_account, diff --git a/src/cutecoin/gui/wallets_tab.py b/src/cutecoin/gui/wallets_tab.py index 7702046ed9abf568585936197057b0ce250b4b33..1274bb5fa99c5558f7e618fae2babb8e584a9bbb 100644 --- a/src/cutecoin/gui/wallets_tab.py +++ b/src/cutecoin/gui/wallets_tab.py @@ -189,4 +189,4 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab): dialog.radio_pubkey.setChecked(True) if dialog.exec_() == QDialog.Accepted: currency_tab = self.window().currencies_tabwidget.currentWidget() - currency_tab.table_history.model().invalidate() + currency_tab.tab_history.table_history.model().invalidate() 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)