From 8bdc5e70ec7c6140bc09db70829bc5fb539e5c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E7=82=B9lilac?= Date: Tue, 29 Dec 2020 23:27:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=97=B6=E4=B8=8D=E9=9C=80=E9=87=8D=E5=90=AFexplorer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ContextMenuManager/Controls/GuidBlockedItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ContextMenuManager/Controls/GuidBlockedItem.cs b/ContextMenuManager/Controls/GuidBlockedItem.cs index c2ab40e..2c94a6f 100644 --- a/ContextMenuManager/Controls/GuidBlockedItem.cs +++ b/ContextMenuManager/Controls/GuidBlockedItem.cs @@ -63,7 +63,7 @@ namespace ContextMenuManager.Controls public void DeleteMe() { Array.ForEach(BlockedPaths, path => { RegistryEx.DeleteValue(path, this.Value); }); - ExplorerRestarter.NeedRestart = true; + if(!this.Guid.Equals(Guid.Empty)) ExplorerRestarter.NeedRestart = true; this.Dispose(); } }