HomePhabricator

[electrum] move get*Filename wrappers out of MainWindow

Description

[electrum] move get*Filename wrappers out of MainWindow

Summary:
The only thing these wrappers need from the MainWindow is the config, so pass it as a parameter.

Depends on D14537

Test Plan:
In the contacts tab, export contacts to a file. Try to import that file in another wallet.

Double-click on a transaction in the History tab, and click the save button.

Open a transaction from file (Tools > Load Transaction > From file)

Add a few labels to transactions in the History tab, export them (Wallet > Labels > Export), delete some of them again, then reimport and check they are all back

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14538

Details

Provenance
PiRKAuthored on Sep 26 2023, 06:53
PiRKPushed on Sep 26 2023, 15:44
Reviewer
Restricted Project
Differential Revision
D14538: [electrum] move get*Filename wrappers out of MainWindow
Parents
rABCa72a2c909229: [electrum] move delete_contacts to ContactList
Branches
Unknown
Tags
Unknown