mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
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:
@@ -31,6 +31,7 @@ namespace OpenBullet.ViewModels
|
|||||||
|
|
||||||
public void Disable()
|
public void Disable()
|
||||||
{
|
{
|
||||||
|
if (block.GetType() == typeof(BlockLSCode)) return;
|
||||||
Block.Disabled = !Block.Disabled;
|
Block.Disabled = !Block.Disabled;
|
||||||
OnPropertyChanged("Color");
|
OnPropertyChanged("Color");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user