From ed99655705a97a26c482065a8169dc84476f126b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E7=82=B9lilac?= Date: Wed, 30 Dec 2020 20:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=81=E5=AE=9A=E6=97=B6=E5=86=99=E5=85=A5?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E8=A1=A8=E4=BF=9D=E5=AD=98=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ContextMenuManager/Controls/LockNewItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ContextMenuManager/Controls/LockNewItem.cs b/ContextMenuManager/Controls/LockNewItem.cs index 0857c4b..8d939b1 100644 --- a/ContextMenuManager/Controls/LockNewItem.cs +++ b/ContextMenuManager/Controls/LockNewItem.cs @@ -35,7 +35,7 @@ namespace ContextMenuManager.Controls get => IsLocked(); set { - if(value) Lock(); + if(value) Owner.WriteRegistry(); else UnLock(); foreach(Control ctr in Owner.Controls) {