File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 end
5252
5353 % Call superclass constructors
54- obj = obj@matlab.graphics.chartcontainer.ChartContainer(parent , varargin{: });
55- obj@wt.mixin.ModelObserver();
54+ % ModelObserver is first to establish model set listeners
55+ % before assigning inputs
56+ obj = obj@wt.mixin.ModelObserver();
57+ obj@matlab.graphics.chartcontainer.ChartContainer(parent , varargin{: });
58+
5659
5760 end % function
5861 end % methods
Original file line number Diff line number Diff line change 6666 % Constructor
6767
6868 % Call superclass constructors
69- obj = obj@matlab.ui.componentcontainer.ComponentContainer(varargin{: });
70- obj@wt.mixin.ModelObserver();
69+ % ModelObserver is first to establish model set listeners
70+ % before assigning inputs
71+ obj = obj@wt.mixin.ModelObserver();
72+ obj@matlab.ui.componentcontainer.ComponentContainer(varargin{: });
7173
7274 % Listen to theme changes (R2025a and later only)
7375 if ~isMATLABReleaseOlderThan(" R2025a" )
You can’t perform that action at this time.
0 commit comments