1
0

reintroduce profiler

This commit is contained in:
ThomasV
2018-12-10 10:18:24 +01:00
parent ca1043ffda
commit 059fb51893

View File

@@ -188,6 +188,7 @@ class HistoryModel(QAbstractItemModel, PrintError):
'''Overridden in address_dialog.py'''
return self.parent.wallet.get_addresses()
@profiler
def refresh(self, reason: str):
self.print_error(f"refreshing... reason: {reason}")
assert self.parent.gui_thread == threading.current_thread(), 'must be called from GUI thread'