BUG-2114 / BUG-2095 / FEATURE-998 : Some more consolidation of the code.

This commit is contained in:
Robin 2017-01-27 20:46:26 +01:00
parent 2caa0d3d55
commit e620cb93ec
3 changed files with 13 additions and 64 deletions

View file

@ -32,7 +32,7 @@ namespace GreenshotPlugin.Core
}
}
// Check if path is a file
else if (File.Exists(path))
if (File.Exists(path))
{
// Start the explorer process and select the file
using (var explorer = Process.Start("explorer.exe", $"/select,\"{path}\""))