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(); } }