Skip to content

Commit 58b14c7

Browse files
rjackeyrjackey
authored andcommitted
Bugfix to new BaseWidget related to varargin in construction
1 parent a45dabe commit 58b14c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widgets/+wt/+abstract/BaseWidget.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function forceUpdate(obj)
6363
function obj = BaseWidget(varargin)
6464

6565
% Attach internal postSetup callback
66-
args = horzcat(varargin(:), {"CreateFcn", @(src,evt)postSetup_I(src)});
66+
args = horzcat(varargin, {"CreateFcn", @(src,evt)postSetup_I(src)});
6767

6868
% Call superclass constructor
6969
obj = [email protected](args{:});

0 commit comments

Comments
 (0)