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:
@@ -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'''
|
||||
|
||||
Reference in New Issue
Block a user