windows: don't use subfolder as root when opening a folder in Explorer.exe. Fixes #617
This commit is contained in:
parent
4487cd130d
commit
7f758a3ef2
|
@ -186,8 +186,7 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
Process process = new Process ();
|
Process process = new Process ();
|
||||||
process.StartInfo.FileName = "explorer";
|
process.StartInfo.FileName = "explorer";
|
||||||
process.StartInfo.Arguments = ",/root," +
|
process.StartInfo.Arguments = Path.Combine (SparkleConfig.DefaultConfig.FoldersPath, subfolder);
|
||||||
Path.Combine (SparkleConfig.DefaultConfig.FoldersPath, subfolder);
|
|
||||||
|
|
||||||
process.Start();
|
process.Start();
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,6 @@ using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
|
||||||
|
|
||||||
using Drawing = System.Drawing;
|
using Drawing = System.Drawing;
|
||||||
using Forms = System.Windows.Forms;
|
using Forms = System.Windows.Forms;
|
||||||
|
|
Loading…
Reference in a new issue