Removed the visual feedback when disabling a LS code block since it cannot be disabled as it's not a normal block.

This commit is contained in:
ruri
2019-04-12 09:27:52 +02:00
parent f569d19038
commit e1cdff995d
@@ -31,6 +31,7 @@ namespace OpenBullet.ViewModels
public void Disable()
{
if (block.GetType() == typeof(BlockLSCode)) return;
Block.Disabled = !Block.Disabled;
OnPropertyChanged("Color");
}