Move the text completion code from the paytoedit widget into its own class and module, so it can be reused for other widgets such as the seed editor.
This is a partial backport of electrum#4033
Differential D17568
[electrum] refactor text completion PiRK on Tue, Jan 21, 08:44. Authored by Tags None Subscribers None
Details
Move the text completion code from the paytoedit widget into its own class and module, so it can be reused for other widgets such as the seed editor. This is a partial backport of electrum#4033 python -m electrumabc_gui.qt.completion_text_edit Run the application and check that auto-completion still works in the Pay-To field (add a few contacts to the wallet)
Diff Detail
Event TimelineComment Actions restore https://github.com/Bitcoin-ABC/ElectrumABC/commit/e2d0f7f804a0b805644957f423e04120cff921b3 and https://github.com/Bitcoin-ABC/ElectrumABC/commit/ac0da1446ed153c291b065cd9ef8a20ef561081d We partially revert https://github.com/Bitcoin-ABC/ElectrumABC/commit/57914d3f764b498554cddf53204b84bffebc5874 (the changes in PayToEdit.keyPressEvent) which is fine since we dropped support for CashAccount |