Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f173962

Browse files
committed
Fix Resource Editor not showing comments
Fixes #714
1 parent 761f14e commit f173962

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/AddIns/DisplayBindings/ResourceEditor/Project/Src/Commands/EditCommentCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public override void ExecuteWithResourceItems(System.Collections.Generic.IEnumer
3434
selectedItem.Comment);
3535
if (newValue != null && newValue != selectedItem.Comment) {
3636
selectedItem.Comment = newValue;
37+
selectedItem.RichComment = newValue;
3738
}
3839
}
3940
}

src/AddIns/DisplayBindings/ResourceEditor/Project/Src/ViewModels/ResourceItem.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public ResourceItem(ResourceEditorViewModel resourceEditor, string name, object
6565
this.ResourceValue = resourceValue;
6666
this.resourceType = GetResourceTypeFromValue(resourceValue);
6767
this.Comment = comment;
68+
this.RichComment = comment;
6869
}
6970

7071
#region INotifyPropertyChanged implementation

0 commit comments

Comments
 (0)