aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/FileSkimmer.cs
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2017-05-05 12:43:37 -0400
committerGitHub <[email protected]>2017-05-05 12:43:37 -0400
commitba585e7614100b4e86dd0f043ee4be6341b67ea2 (patch)
treef4b4feac49a7eb4870ee02f941a2aca7261a5cf6 /ShiftOS.WinForms/Applications/FileSkimmer.cs
parent9a2373ec42faeef719cff1c7076af87ef44179a7 (diff)
parent6eb418dec83188b8d4efbf74b6557ac2cbdedb0f (diff)
downloadshiftos_thereturn-ba585e7614100b4e86dd0f043ee4be6341b67ea2.tar.gz
shiftos_thereturn-ba585e7614100b4e86dd0f043ee4be6341b67ea2.tar.bz2
shiftos_thereturn-ba585e7614100b4e86dd0f043ee4be6341b67ea2.zip
Merge pull request #121 from AShifter/master
actually fix something
Diffstat (limited to 'ShiftOS.WinForms/Applications/FileSkimmer.cs')
-rw-r--r--ShiftOS.WinForms/Applications/FileSkimmer.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.cs
index 6309775..c1ffd40 100644
--- a/ShiftOS.WinForms/Applications/FileSkimmer.cs
+++ b/ShiftOS.WinForms/Applications/FileSkimmer.cs
@@ -34,7 +34,6 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using static ShiftOS.Objects.ShiftFS.Utils;
-using Newtonsoft.Json;
using ShiftOS.Engine;
namespace ShiftOS.WinForms.Applications
@@ -423,14 +422,14 @@ namespace ShiftOS.WinForms.Applications
{
if (result == true)
{
- if (currentdir != "__system")
+ if (currentdir != "__system" && lvitems.SelectedItems[0].Text != "Up one")
{
pinDirectory(currentdir + "/" + lvitems.SelectedItems[0].Text);
ResetList();
}
else
{
- Infobox.Show("Cannot Pin", "You cannot pin a system drive.");
+ Infobox.Show("Cannot Pin", "You can only pin files or folders.");
}
}