We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697f6c9 commit 2bd87fcCopy full SHA for 2bd87fc
mlapptools.m
@@ -100,7 +100,7 @@ function fontWeight(uiElement, weight)
100
% A method for obtaining the webwindow handle and the widgetID corresponding
101
% to the provided uifigure control.
102
% Get a handle to the webwindow
103
- win = mlapptools.getWebWindow(uiElement.Parent);
+ win = mlapptools.getWebWindow(uiElement);
104
105
% Find which element of the DOM we want to edit
106
widgetID = mlapptools.getWidgetID(win, mlapptools.getDataTag(uiElement));
0 commit comments