setup: fix Show Files button
This commit is contained in:
parent
0572f013b5
commit
c6c74a8dc1
|
@ -541,10 +541,10 @@ namespace SparkleShare {
|
||||||
string folder_name = Path.GetFileName (PreviousPath);
|
string folder_name = Path.GetFileName (PreviousPath);
|
||||||
|
|
||||||
if (PreviousPath.EndsWith ("-crypto"))
|
if (PreviousPath.EndsWith ("-crypto"))
|
||||||
folder_name = PreviousPath.Replace ("-crypto", "");
|
folder_name = folder_name.Replace ("-crypto", "");
|
||||||
|
|
||||||
if (PreviousPath.EndsWith ("-crypto.git"))
|
if (PreviousPath.EndsWith ("-crypto.git"))
|
||||||
folder_name = PreviousPath.Replace ("-crypto.git", "");
|
folder_name = folder_name.Replace ("-crypto.git", "");
|
||||||
|
|
||||||
Program.Controller.OpenSparkleShareFolder (folder_name);
|
Program.Controller.OpenSparkleShareFolder (folder_name);
|
||||||
FinishPageCompleted ();
|
FinishPageCompleted ();
|
||||||
|
|
Loading…
Reference in a new issue