changeset 31586:87a8c7e2f20f

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 29 Nov 2022 14:06:07 +0100
parents 7a0702b1d19c (current diff) 7d7e04fc21ba (diff)
children 01143c6ab610
files
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/graphics/qt-graphics-toolkit.cc	Mon Nov 28 19:56:21 2022 -0800
+++ b/libgui/graphics/qt-graphics-toolkit.cc	Tue Nov 29 14:06:07 2022 +0100
@@ -180,11 +180,16 @@
 
     if (proxy)
       {
-        if (go.isa ("uicontrol")
-            && pId == uicontrol::properties::ID_STYLE)
+        if ((go.isa ("uicontrol")
+             && pId == uicontrol::properties::ID_STYLE)
+            || (go.isa ("uitable")
+                && pId == uitable::properties::ID_DATA))
           {
             // Special case: we need to recreate the control widget
             // associated with the octave graphics_object
+            // FIXME: For uitable, it would only be necessary to recreate
+            // the table widget if the type of the displayed values changes
+            // between Boolean and non-Boolean (bug #63388).
 
             finalize (go);
             initialize (go);