Skip to content
Snippets Groups Projects
Commit 01ffdc0a authored by inso's avatar inso
Browse files

Wallets value were not refreshed

parent a0b4d28b
No related branches found
No related tags found
No related merge requests found
...@@ -104,12 +104,18 @@ class CurrencyTabWidget(QWidget, Ui_CurrencyTabWidget): ...@@ -104,12 +104,18 @@ class CurrencyTabWidget(QWidget, Ui_CurrencyTabWidget):
@pyqtSlot(int) @pyqtSlot(int)
def refresh_block(self, block_number): def refresh_block(self, block_number):
if self.list_wallets.model():
self.list_wallets.model().dataChanged.emit(
QModelIndex(),
QModelIndex(),
[])
if self.list_wallet_content.model(): if self.list_wallet_content.model():
self.list_wallet_content.model().dataChanged.emit( self.list_wallet_content.model().dataChanged.emit(
QModelIndex(), QModelIndex(),
QModelIndex(), QModelIndex(),
[]) [])
if self.list_wallet_content.model(): if self.list_transactions_sent.model():
self.list_transactions_sent.model().dataChanged.emit( self.list_transactions_sent.model().dataChanged.emit(
QModelIndex(), QModelIndex(),
QModelIndex(), QModelIndex(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment