Skip to content

Commit cac2336

Browse files
authored
Fixed a refactoring-related typo (wrong variable name ,issue #27)
Thanks @rancohen2000 for reporting!
1 parent b969471 commit cac2336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlapptools.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function fontWeight(hUIElement, weight)
288288
warning(warnState); % Restore warning state
289289
case {'uipanel', 'figure', 'uitabgroup', 'uitab', ...
290290
'uiswitch', 'uitoggleswitch', 'uirockerswitch'}
291-
widgetID = WidgetID('data-tag', mlapptools.getDataTag(uiElement));
291+
widgetID = WidgetID('data-tag', mlapptools.getDataTag(hUIElement));
292292
case 'uitable'
293293
TAB_PREFIX = "mgg_";
294294
% Notes:
@@ -930,4 +930,4 @@ function waitTillWebwindowLoaded(hWin, hUIFig)
930930
hWin.executeJS('var R = require("react/react-dom.min"); Object.keys(R)')
931931
932932
933-
%}
933+
%}

0 commit comments

Comments
 (0)