diff options
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index f0d7e022..2664c655 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -357,8 +357,6 @@ void Button::mouseExited(gcn::MouseEvent &event) void Button::setButtonPopupText(const std::string& text) { mPopupText = text; - if (!mPopupText.empty()) - mTextPopup->show(getX(), getY(), mPopupText); - else + if (mPopupText.empty()) mTextPopup->setVisible(false); } |