setup: fix Show Files button for project names containing underscores
This commit is contained in:
parent
4e868c6eca
commit
c647a9202d
|
@ -539,6 +539,7 @@ namespace SparkleShare {
|
|||
public void ShowFilesClicked ()
|
||||
{
|
||||
string folder_name = Path.GetFileName (PreviousPath);
|
||||
folder_name = folder_name.Replace ("_", " ");
|
||||
|
||||
if (PreviousPath.EndsWith ("-crypto"))
|
||||
folder_name = folder_name.Replace ("-crypto", "");
|
||||
|
|
Loading…
Reference in a new issue