changeset 30993:63710f3bd981 stable

Stop incorrect error when reset() called on uimenu handle (bug #62425) * graphics.in.h (uimenu::properties::init): When setting constraint for "position" property allow mininimum to include 0.
author Rik <rik@octave.org>
date Wed, 11 May 2022 09:44:55 -0700
parents ed06f74e16cf
children 1212ed22f962 f69dbed63186
files libinterp/corefcn/graphics.in.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Mon May 09 12:57:11 2022 -0400
+++ b/libinterp/corefcn/graphics.in.h	Wed May 11 09:44:55 2022 -0700
@@ -5781,7 +5781,7 @@
   protected:
     void init (void)
     {
-      m_position.add_constraint ("min", 0, false);
+      m_position.add_constraint ("min", 0, true);
     }
   };