You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g3198185 - The error comes from ListSelectorTwoPane.m. The following update is proposed:
function set.HighlightedValue(obj,value)
if isempty(value)
return;
end
if isempty(obj.ItemsData)
[~, obj.RightList.Value] = ismember(value, obj.Items);
else
[~, obj.RightList.Value] = ismember(value, obj.ItemsData);
end
end
The text was updated successfully, but these errors were encountered:
Would the following proposal also solve the issue (I cannot reproduce it) and still allow for de-selection of the highlighted value?
function set.HighlightedValue(obj,value)
if isempty(value)
obj.RightList.Value = {};
return;
end
if isempty(obj.ItemsData)
[~, obj.RightList.Value] = ismember(value, obj.Items);
else
[~, obj.RightList.Value] = ismember(value, obj.ItemsData);
end
end
g3198185 - The error comes from ListSelectorTwoPane.m. The following update is proposed:
The text was updated successfully, but these errors were encountered: