diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index 9a674c75b1..e4e1569d6e 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1424,10 +1424,11 @@ void Skin::drawRibbonChild(const core::recti &rect, Widget* widget, } const bool mark_focused = - focused || (parent_focused && parentRibbonWidget != NULL && + (focused || (parent_focused && parentRibbonWidget != NULL && parentRibbonWidget->m_mouse_focus == widget) || (mark_selected && !always_show_selection && - parent_focused); + parent_focused)) && + widget->m_properties[PROP_FOCUS_ICON].size() == 0; /* draw "selection bubble" if relevant */ if (always_show_selection && mark_selected)