Commit 95b2d895 authored by Mike Cichonski's avatar Mike Cichonski
Browse files

minor fix for PropertyGridField

parent 7af0571a
......@@ -62,8 +62,8 @@ classdef PropertyGridField < hgsetget
function self = set.Category(self, category)
validateattributes(category, {'char'}, {'nonempty','row'});
if strcmp(category,' ')
self.Category = '';
if strcmp(category(1),' ')
category = category(2:1:end);
end;
self.Category = category;
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment