]> git.lyx.org Git - features.git/commitdiff
Fix bug #10904.
authorRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 04:29:52 +0000 (23:29 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 04:29:52 +0000 (23:29 -0500)
src/insets/RenderButton.cpp
src/insets/RenderButton.h

index ed6e26b51e6d1d8c7bb9fd71ad0afaa351c823fd..5320507371d844cc3d4c70f78a17571a53a65f44 100644 (file)
@@ -33,11 +33,11 @@ RenderBase * RenderButton::clone(Inset const *) const
 
 
 void RenderButton::update(docstring const & text, bool editable,
-                          bool inherit_font)
+                          bool inherit)
 {
        text_ = text;
        editable_ = editable;
-       inherit_font_ = inherit_font;
+       inherit_font_ = inherit;
 }
 
 
index 480effd16ace2ae931325c8a7bcc79ba202952da..a0436404cf745c833f4218eeea7e2d40afce26d3 100644 (file)
@@ -33,7 +33,7 @@ public:
        virtual void draw(PainterInfo & pi, int x, int y) const;
 
        /// Provide the text for the button
-       void update(docstring const &, bool editable, bool inherit_font);
+       void update(docstring const &, bool editable, bool inherit);
 
        /// The "sensitive area" box, i.e., the button area
        Box box() const { return button_box_; }