fix: add .dat file extension automatically when exporting watchonly - #957
fix: add .dat file extension automatically when exporting watchonly#957polespinasa wants to merge 2 commits into
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste |
As I noted here:
This change does not prevent using |
Right, probably more correct to say partially-fixes, this PRs tries to mimic what backup wallet does. Which does add the file extension by default when using the gui. I think the normal non-technical user (will never use the RPC) workflow is just using the GUI options, and that should not imply adding some unknown data file extensions manually. A user might not know what a |
Now it does :) Second commit allows to load a non Still I think the first commit is good as adding the file extension is normally good expected behavior and is what the GUI already does with backup wallet. |
9b2dfc5 to
10ea03e
Compare
|
ACK 10ea03e |
| appMenuBar = menuBar(); | ||
|
|
||
| // Configure the menus | ||
| QMenu *file = appMenuBar->addMenu(tr("&File")); |
This comment was marked as low quality.
This comment was marked as low quality.
Sorry, something went wrong.
fixes #956
Unlike
backup wallet,export watch-only walletwas not automatically adding the file extension to the exported file, making restoring difficult if the user doesn't manually add the file extension after exporting.Allows also to restore a wallet from a non specified
.datfile extension. This is achieved by removing the filter in the select file screen, matching the RPC behavior.