Skip to content

Commit cb8dd40

Browse files
committed
Removing property name from inherited property descriptions
1 parent d2ee8d0 commit cb8dd40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/matlab/+symphonyui/+core/PropertyDescriptor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
comment(end-1:end) = [];
174174
end
175175
if ~isempty(comment)
176-
comment{1} = strtrim(regexprep(comment{1}, ['^' mpo.Name ' -'], ''));
176+
comment{1} = strtrim(regexprep(strtrim(comment{1}), ['^' mpo.Name ' -'], ''));
177177
end
178178
comment = strjoin(comment, '\n');
179179

0 commit comments

Comments
 (0)