diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/intlGUIEditBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/intlGUIEditBox.cpp b/src/gui/intlGUIEditBox.cpp index 279e7a48a..c03256ede 100644 --- a/src/gui/intlGUIEditBox.cpp +++ b/src/gui/intlGUIEditBox.cpp @@ -1087,7 +1087,7 @@ bool intlGUIEditBox::processMouse(const SEvent& event) } break; case EMIE_MOUSE_WHEEL: - if (m_vscrollbar) { + if (m_vscrollbar && m_vscrollbar->isVisible()) { s32 pos = m_vscrollbar->getPos(); s32 step = m_vscrollbar->getSmallStep(); m_vscrollbar->setPos(pos - event.MouseInput.Wheel * step); |