From 315f5fc18544f771e73f9f670b0c6ca6740554a8 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 21 Oct 2012 20:28:58 +0100 Subject: [PATCH] setup: fix Show Files button --- SparkleShare/SparkleSetupController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index 8a4a23ae..dd590144 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -541,10 +541,10 @@ namespace SparkleShare { string folder_name = Path.GetFileName (PreviousPath); if (PreviousPath.EndsWith ("-crypto")) - folder_name = PreviousPath.Replace ("-crypto", ""); + folder_name = folder_name.Replace ("-crypto", ""); if (PreviousPath.EndsWith ("-crypto.git")) - folder_name = PreviousPath.Replace ("-crypto.git", ""); + folder_name = folder_name.Replace ("-crypto.git", ""); Program.Controller.OpenSparkleShareFolder (folder_name); FinishPageCompleted ();