Page MenuHomePhabricator

[electrum] refactor text completion
ClosedPublic

Authored by PiRK on Tue, Jan 21, 08:44.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC415850772402: [electrum] refactor text completion
Summary

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

Test Plan
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 Timeline

PiRK requested review of this revision.Tue, Jan 21, 08:44
PiRK planned changes to this revision.Tue, Jan 21, 12:22

I may have lost a few Electron Cash improvements in keyPressEvent in the process

This revision is now accepted and ready to land.Tue, Jan 21, 15:28
This revision was automatically updated to reflect the committed changes.