# HG changeset patch # User John Donoghue # Date 1663768532 14400 # Node ID e3016248ca5d4a472a04664e4cc2d9140e486a8a # Parent a103cfd738c5e7e78df614b162028e3bc208e04c uifigure.m: Call set () only if varargin is not empty (bug #63088) * uifigure.m: Call set () only if varargin is not empty. diff -r a103cfd738c5 -r e3016248ca5d scripts/gui/uifigure.m --- a/scripts/gui/uifigure.m Wed Sep 21 13:48:27 2022 -0700 +++ b/scripts/gui/uifigure.m Wed Sep 21 09:55:32 2022 -0400 @@ -61,7 +61,9 @@ addproperty ("Scrollable", h, "boolean", "off"); ## Apply any overrides. - set (h, varargin{:}); + if (! isempty (varargin)) + set (h, varargin{:}); + endif endfunction