This commit is contained in:
Richard Heck 2018-02-23 23:29:52 -05:00
parent 55462786d0
commit 59e6610d8a
2 changed files with 3 additions and 3 deletions

View 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;
}

View 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_; }