From: Richard Heck Date: Sat, 24 Feb 2018 04:29:52 +0000 (-0500) Subject: Fix bug #10904. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3799 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=59e6610d8ad4d5c5a81d9a6b4ef73ae36231489a;p=features.git Fix bug #10904. --- diff --git a/src/insets/RenderButton.cpp b/src/insets/RenderButton.cpp index ed6e26b51e..5320507371 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 480effd16a..a0436404cf 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_; }