84,85c84,85
< 				if ( this:GetChecked() ) then
< 					this.isLocked = 1;
---
> 				if (ActionLockButton_Toggle) then
> 					ActionLockButton_Toggle(-1);
87c87,91
< 					this.isLocked = nil;
---
> 					if ( this:GetChecked() ) then
> 						this.isLocked = 1;
> 					else
> 						this.isLocked = nil;
> 					end
