diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 85ab4f7d19fd55be3d6fcb1d769e2673168fafa9..0e9188a277b383404e228d3f73088fe562d133b6 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) diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py index 480f56ea9b9555781e797a2fb256e6b5debeffb6..20f33fd73fee523a6d40e128dc59ecfa09f7efc0 100644 --- a/src/cutecoin/gui/mainwindow.py +++ b/src/cutecoin/gui/mainwindow.py @@ -170,7 +170,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): logging.debug("Busybar : {:} : {:}".format(value, maximum)) self.busybar.setValue(value) self.busybar.setMaximum(maximum) - + if self.app.current_account: self.app.save_cache(self.app.current_account) @@ -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()