Skip to content

Commit

Permalink
Update to widgets/+wt/ListSelectorTwoPane.m
Browse files Browse the repository at this point in the history
- Fixed crash when converting app with tis compnent to auto-reflow app.
Resolves Issue #57 and Geck 3198185
  • Loading branch information
msulliva72 committed Jan 10, 2024
1 parent 6ab43e5 commit 5a61cd1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion widgets/+wt/ListSelectorTwoPane.m
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,11 @@ function shiftListBoxIndex(obj, shift)
else
value = obj.ItemsData(:,selIdx);
end
end
end
function set.HighlightedValue(obj,value)
if isempty(value)
return;
end
if isempty(obj.ItemsData)
[~, obj.RightList.Value] = ismember(value, obj.Items);
else
Expand Down

0 comments on commit 5a61cd1

Please sign in to comment.