Add privacy notice to readme.

Set file type in save dialog.
This commit is contained in:
rlv-dan 2020-04-20 19:51:04 +02:00
parent c81f699788
commit f1555a2e4a
2 changed files with 8 additions and 0 deletions

View File

@ -235,3 +235,10 @@
RL Vision can not be held responsible for any damages whatsoever, direct or
indirect, caused by this software or other material from RL Vision.
--- Privacy Notice ----------------------------------------------------------
Snap2HTML does not connect to the internet. It does not phone home, check
for updates, submit telemetry, spy on you or any other crap like that. It
simply doesn't do anything behind your back and any data related to the
program is yours. As it should be.

View File

@ -180,6 +180,7 @@ namespace Snap2HTML
saveFileDialog1.DefaultExt = "html";
if( !fileName.ToLower().EndsWith( ".html" ) ) fileName += ".html";
saveFileDialog1.FileName = fileName;
saveFileDialog1.Filter = "HTML files (*.html)|*.html|All files (*.*)|*.*";
saveFileDialog1.InitialDirectory = System.IO.Path.GetDirectoryName(txtRoot.Text);
if (saveFileDialog1.ShowDialog() != DialogResult.OK) return;
}