1
0

Don't refresh whilst editing!

It's long been a pet peeve of mine that whilst editing a label,
something would cause Electrum to refresh the widget, such as
an incoming tx or a new block, and you'd lose your edits.
This changes MyTreeWidget so that, if editing, updates are
deferred until editing finishes.
This commit is contained in:
Neil Booth
2015-09-09 09:36:35 +09:00
parent 544b829f6e
commit 0371a3dc32
4 changed files with 60 additions and 42 deletions

View File

@@ -347,7 +347,7 @@ class Plugin(BasePlugin, ThreadJob):
def on_fx_history(self):
'''Called when historical fx quotes are updated'''
for window in self.windows:
window.update_history_tab()
window.history_list.update()
def on_fx_quotes(self):
'''Called when fresh spot fx quotes come in'''