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
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): ...@@ -127,7 +127,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget):
dialog.radio_pubkey.setChecked(True) dialog.radio_pubkey.setChecked(True)
if dialog.exec_() == QDialog.Accepted: if dialog.exec_() == QDialog.Accepted:
currency_tab = self.window().currencies_tabwidget.currentWidget() 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): def certify_member(self, person):
dialog = CertificationDialog(self.account, self.password_asker) dialog = CertificationDialog(self.account, self.password_asker)
......
...@@ -194,7 +194,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): ...@@ -194,7 +194,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
dialog.accepted.connect(self.refresh_wallets) dialog.accepted.connect(self.refresh_wallets)
if dialog.exec_() == QDialog.Accepted: if dialog.exec_() == QDialog.Accepted:
currency_tab = self.currencies_tabwidget.currentWidget() 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): def open_certification_dialog(self):
dialog = CertificationDialog(self.app.current_account, dialog = CertificationDialog(self.app.current_account,
......
...@@ -189,4 +189,4 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab): ...@@ -189,4 +189,4 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab):
dialog.radio_pubkey.setChecked(True) dialog.radio_pubkey.setChecked(True)
if dialog.exec_() == QDialog.Accepted: if dialog.exec_() == QDialog.Accepted:
currency_tab = self.window().currencies_tabwidget.currentWidget() 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