changeset 30638:7961eb9cdc18

maint: merge stable to default.
author Rik <rik@octave.org>
date Thu, 13 Jan 2022 07:28:48 -0800
parents ad8c9d93b86d (current diff) 3c4e851e0220 (diff)
children f3a766367bff
files libinterp/corefcn/graphics.cc
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Wed Jan 12 14:28:14 2022 -0800
+++ b/libinterp/corefcn/graphics.cc	Thu Jan 13 07:28:48 2022 -0800
@@ -11948,10 +11948,6 @@
 
   m_handle_map[h] = go;
 
-  // Overriding defaults will work now because the handle is valid
-  // and we can find parent objects (not just handles).
-  go.override_defaults ();
-
   if (go_name == "axes")
     {
       // Handle defaults for labels since overriding defaults for
@@ -11976,6 +11972,10 @@
       tgo.override_defaults ();
     }
 
+  // Overriding defaults will work now because the handle is valid
+  // and we can find parent objects (not just handles).
+  go.override_defaults ();
+
   if (call_createfcn)
     bgo->get_properties ().execute_createfcn ();