From 30b33d092d479df8648ec4d0dd8bf85ff9e6c534 Mon Sep 17 00:00:00 2001 From: M Jenkinson Date: Tue, 28 Jun 2022 11:45:54 +0100 Subject: [PATCH] Fixed can now open folders with commas Also removed lvResults.Sort() as it wasn't doing anything except slowing down searches --- Results.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Results.cs b/Results.cs index 12114a9..7a5e7d0 100644 --- a/Results.cs +++ b/Results.cs @@ -94,7 +94,6 @@ public void SetupColumns() public void ResizeListView(object sender, EventArgs e) { - lvResults.Sort(); for (int i = 0; i < lvResults.Columns.Count; i++) { lvResults.AutoResizeColumn(i, ColumnHeaderAutoResizeStyle.ColumnContent); @@ -179,7 +178,7 @@ private void btOpen_Click(object sender, EventArgs e) combined = combined.Replace(@"\\", @"\"); // Again combined = combined.Replace(@"/", @"\"); - Process.Start("explorer.exe", combined); // This is very particular about the right slashes + Process.Start("explorer.exe", "\"" + combined + "\""); // This is very particular about the right slashes } private void tbFilter_TextChanged(object sender, EventArgs e)