Skip to content

Commit

Permalink
Fixed a refactoring-related typo (wrong variable name ,issue #27)
Browse files Browse the repository at this point in the history
Thanks @rancohen2000 for reporting!
  • Loading branch information
Dev-iL committed Apr 25, 2019
1 parent b969471 commit cac2336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlapptools.m
Expand Up @@ -288,7 +288,7 @@ function fontWeight(hUIElement, weight)
warning(warnState); % Restore warning state
case {'uipanel', 'figure', 'uitabgroup', 'uitab', ...
'uiswitch', 'uitoggleswitch', 'uirockerswitch'}
widgetID = WidgetID('data-tag', mlapptools.getDataTag(uiElement));
widgetID = WidgetID('data-tag', mlapptools.getDataTag(hUIElement));
case 'uitable'
TAB_PREFIX = "mgg_";
% Notes:
Expand Down Expand Up @@ -930,4 +930,4 @@ function waitTillWebwindowLoaded(hWin, hUIFig)
hWin.executeJS('var R = require("react/react-dom.min"); Object.keys(R)')
%}
%}

0 comments on commit cac2336

Please sign in to comment.