diff --git a/Filtration.ObjectModel/Commands/ItemFilterScript/AddCommentBlockCommand.cs b/Filtration.ObjectModel/Commands/ItemFilterScript/AddCommentBlockCommand.cs index 1c627df..1d951a6 100644 --- a/Filtration.ObjectModel/Commands/ItemFilterScript/AddCommentBlockCommand.cs +++ b/Filtration.ObjectModel/Commands/ItemFilterScript/AddCommentBlockCommand.cs @@ -15,7 +15,10 @@ namespace Filtration.ObjectModel.Commands.ItemFilterScript } public void Execute() { - _newItemFilterBlock = new ItemFilterCommentBlock(_itemFilterScript); + _newItemFilterBlock = new ItemFilterCommentBlock(_itemFilterScript) + { + Comment = string.Empty + }; if (_addAfterItemFilterBlock != null) { _itemFilterScript.ItemFilterBlocks.Insert(_itemFilterScript.ItemFilterBlocks.IndexOf(_addAfterItemFilterBlock) + 1, _newItemFilterBlock);