Skip to content

Commit 4952e28

Browse files
committed
fix to BaseViewController onFieldEdited to handle cellstr
1 parent c7837cb commit 4952e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widgets/+wt/+abstract/BaseViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function onFieldEdited(obj,evt,fieldName,index)
205205
newValue = evt.Value;
206206

207207
% Treat char as string
208-
if ischar(newValue)
208+
if ischar(newValue) || iscellstr(newValue) %#ok<ISCLSTR>
209209
newValue = string(newValue);
210210
end
211211

0 commit comments

Comments
 (0)