wavedrom / wavedrom.github.io

Digital timing diagram editor
https://wavedrom.com
MIT License
898 stars 156 forks source link

Save dialog shows all file types #85

Open SuksAE opened 2 years ago

SuksAE commented 2 years ago

The save dialog should limit the shown file types according to the selected function. With the current implementation of always showing all files, there is no protection against accidentally selecting e.g. a JSON file when exporting an SVG file.

In this way it is easily possible to overwrite data by mistake.

Thanks

PS: tested with WaveDrom Editor V2.9.1 on Windows