Improved handling of default options.

This commit is contained in:
stax76
2021-10-10 15:20:12 +02:00
parent 1a475f9fe8
commit 2a3738f79e
7 changed files with 52 additions and 64 deletions

View File

@@ -253,8 +253,10 @@ namespace mpvnet
using (var d = new OpenFileDialog())
{
string path = Core.GetPropertyString("path");
if (File.Exists(path))
d.InitialDirectory = Path.GetDirectoryName(path);
d.Multiselect = true;
if (d.ShowDialog() == DialogResult.OK)