From 6eb418dec83188b8d4efbf74b6557ac2cbdedb0f Mon Sep 17 00:00:00 2001 From: AShifter Date: Fri, 5 May 2017 10:34:46 -0600 Subject: actually fix file skimmer don't copy dat floppy --- ShiftOS.WinForms/Applications/FileSkimmer.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ShiftOS.WinForms/Applications/FileSkimmer.cs') 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."); } } -- cgit v1.2.3