aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/FileSkimmer.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-05-05 10:34:46 -0600
committerAShifter <[email protected]>2017-05-05 10:34:46 -0600
commit6eb418dec83188b8d4efbf74b6557ac2cbdedb0f (patch)
treef4b4feac49a7eb4870ee02f941a2aca7261a5cf6 /ShiftOS.WinForms/Applications/FileSkimmer.cs
parenta7fff72826ba12a9a87ad4edf38526174e330acb (diff)
downloadshiftos_thereturn-6eb418dec83188b8d4efbf74b6557ac2cbdedb0f.tar.gz
shiftos_thereturn-6eb418dec83188b8d4efbf74b6557ac2cbdedb0f.tar.bz2
shiftos_thereturn-6eb418dec83188b8d4efbf74b6557ac2cbdedb0f.zip
actually fix file skimmer
don't copy dat floppy
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.");
}
}