setup: fix Show Folder button for encrypted folders
This commit is contained in:
parent
a679e29d4c
commit
205947502c
|
@ -538,7 +538,15 @@ namespace SparkleShare {
|
|||
|
||||
public void OpenFolderClicked ()
|
||||
{
|
||||
Program.Controller.OpenSparkleShareFolder (Path.GetFileName (PreviousPath));
|
||||
string folder_name = Path.GetFileName (PreviousPath);
|
||||
|
||||
if (PreviousPath.EndsWith ("-crypto"))
|
||||
folder_name = PreviousPath.Replace ("-crypto", "");
|
||||
|
||||
if (PreviousPath.EndsWith ("-crypto.git"))
|
||||
folder_name = PreviousPath.Replace ("-crypto.git", "");
|
||||
|
||||
Program.Controller.OpenSparkleShareFolder (folder_name);
|
||||
FinishPageCompleted ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue