diff libgui/graphics/ToggleButtonControl.cc @ 26225:1a12d4369beb

Fix "Value" property for uicontrol togglebuttons (bug #55211). Also fix "string" property for uicontrol pushbuttons. * ToggleButtonControl.cc (update): If property is not handled by ToggleButton update() function then forward event to ButtonControl::update. * PushButtonControl.cc (update): Remove handling of "string" property. If property is not handled by PushButton update() function then forward event to ButtonControl::update.
author Rik <rik@octave.org>
date Thu, 13 Dec 2018 11:57:39 -0800
parents 88e87c69c8b8
children 00f796120a6d
line wrap: on
line diff
--- a/libgui/graphics/ToggleButtonControl.cc	Thu Dec 13 14:04:39 2018 -0500
+++ b/libgui/graphics/ToggleButtonControl.cc	Thu Dec 13 11:57:39 2018 -0800
@@ -91,7 +91,7 @@
         break;
 
       default:
-        BaseControl::update (pId);
+        ButtonControl::update (pId);
         break;
       }
   }