mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix bug #10904.
This commit is contained in:
parent
55462786d0
commit
59e6610d8a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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_; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user