fix bug in recent roms explore option for paths with commas
This commit is contained in:
parent
5ebb1b1e2e
commit
29307e4935
|
@ -83,7 +83,8 @@ namespace BizHawk.Client.EmuHawk.ToolExtensions
|
||||||
|
|
||||||
//make a menuitem to let you explore to it
|
//make a menuitem to let you explore to it
|
||||||
var tsmiExplore = new ToolStripMenuItem { Text = "&Explore" };
|
var tsmiExplore = new ToolStripMenuItem { Text = "&Explore" };
|
||||||
tsmiExplore.Click += (o, ev) => { System.Diagnostics.Process.Start("explorer.exe", "/select, " + hf.FullPathWithoutMember); };
|
string explorePath = "\"" + hf.FullPathWithoutMember + "\"";
|
||||||
|
tsmiExplore.Click += (o, ev) => { System.Diagnostics.Process.Start("explorer.exe", "/select, " + explorePath); };
|
||||||
tsdd.Items.Add(tsmiExplore);
|
tsdd.Items.Add(tsmiExplore);
|
||||||
|
|
||||||
var tsmiCopyFile = new ToolStripMenuItem { Text = "Copy &File" };
|
var tsmiCopyFile = new ToolStripMenuItem { Text = "Copy &File" };
|
||||||
|
|
Loading…
Reference in New Issue