diff --git a/source/gui/CDropDown.cpp b/source/gui/CDropDown.cpp index 9001d1afd3..f3b82b40fd 100644 --- a/source/gui/CDropDown.cpp +++ b/source/gui/CDropDown.cpp @@ -182,6 +182,11 @@ void CDropDown::HandleMessage(SGUIMessage &Message) if (!m_Open) { + CGUIList *pList; + GUI::GetSettingPointer(this, "list", pList); + if (pList->m_Items.empty()) + return; + m_Open = true; GetScrollBar(0).SetZ(GetBufferedZ()); GUI::GetSetting(this, "selected", m_ElementHighlight);