diff options
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 94d550e9..371c8f3e 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -79,7 +79,8 @@ class Button : public gcn::Button * * @note: An empty text will disable the popup. */ - void setButtonPopupText(const std::string& text = std::string()); + void setButtonPopupText(const std::string& text = std::string()) + { mPopupText = text; } void logic(); void mouseMoved(gcn::MouseEvent &event); |