commit 59e6610d8ad4d5c5a81d9a6b4ef73ae36231489a
Author: Richard Heck <rgh...@lyx.org>
Date:   Fri Feb 23 23:29:52 2018 -0500

    Fix bug #10904.
---
 src/insets/RenderButton.cpp |    4 ++--
 src/insets/RenderButton.h   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/insets/RenderButton.cpp b/src/insets/RenderButton.cpp
index ed6e26b..5320507 100644
--- a/src/insets/RenderButton.cpp
+++ b/src/insets/RenderButton.cpp
@@ -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;
 }
 
 
diff --git a/src/insets/RenderButton.h b/src/insets/RenderButton.h
index 480effd..a043640 100644
--- a/src/insets/RenderButton.h
+++ b/src/insets/RenderButton.h
@@ -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_; }

Reply via email to