Remove early return that causes wrong spinner widget behavior.
This commit is contained in:
parent
70e82142d1
commit
95ecd55ce8
@ -771,12 +771,6 @@ EventPropagation EventHandler::onWidgetActivated(GUIEngine::Widget* w, const int
|
||||
SpinnerWidget* spinner = dynamic_cast<SpinnerWidget*>(w);
|
||||
spinner->activateSelectedButton();
|
||||
}
|
||||
|
||||
//FIXME: that early return may be not needed
|
||||
if (ModalDialog::isADialogActive() && (parent == NULL || parent->m_type != GUIEngine::WTYPE_RIBBON))
|
||||
{
|
||||
if (w->m_event_handler == NULL) return EVENT_LET;
|
||||
}
|
||||
|
||||
if (w->m_event_handler != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user