Skip to content
Snippets Groups Projects
Commit 43f3ea3d authored by Vincent Texier's avatar Vincent Texier
Browse files

Fix bug trying to access table_history at the wrong place

parent f406959e
Branches
Tags
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)
......
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment