Feathercoin-Foundation / electrum-ftc

Electrum-FTC; Feathercoin thin client. Follows upstream by rebasing FTC patches. Tags remain stable.
MIT License
10 stars 8 forks source link

Menu -> Wallet -> Invoices -> Import -> Only json format files should be allowed for importing #74

Open Anilkumar18 opened 6 years ago

Anilkumar18 commented 6 years ago

Expected Behavior

Menu -> Wallet -> Invoices -> Import -> While importing invoices files, only .json format file should be imported

Current Behavior

Menu -> Wallet -> Invoices -> Import -> While importing invoices files, currently the user can change the file type in the dialog box and select any format files.

Steps to Reproduce

1.Open a wallet 2.Click on wallet ->Invoices ->Import 3.In select file dialog box make sure that file format given is automatically fixed to .json and it should be unchangeable (Reference as in Bitcoin)

In Bitcoin : json

In Electrum FTC : ftc_json

In Bitcoin :

Context

If the file type is fixed the the user is clear only json files can be imported

Your Environment