Skip to content
Snippets Groups Projects
Commit 17e4b163 authored by inso's avatar inso
Browse files

Merge branch 'dev091' of https://github.com/ucoin-io/cutecoin into dev091

parents 2d870602 db39511c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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,
......
......@@ -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()
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment