diff libinterp/corefcn/graphics.in.h @ 26037:864448a7f347

Don't set keyboard focus on newly created uicontrol objects (bug #54942) * BaseControl.cc (BaseControl::BaseControl): Remove call to setFocus. * graphics.in.h (uicontrol::properties::__focus__): Make default value "off". * msgbox.m: Explicitely set focus on the uicontrol.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Tue, 06 Nov 2018 18:09:41 +0100
parents 80c8062e855a
children 10145b9ad883
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Mon Nov 05 11:11:47 2018 -0800
+++ b/libinterp/corefcn/graphics.in.h	Tue Nov 06 18:09:41 2018 +0100
@@ -5464,7 +5464,7 @@
       radio_property verticalalignment , "top|{middle}|bottom"
 
       // Octave-specific properties
-      bool_property __focus__ h , "on"
+      bool_property __focus__ h , "off"
       any_property __object__ h , Matrix ()
     END_PROPERTIES