This commit is contained in:
Learath2 2018-02-13 17:15:16 +01:00
parent 8cfebaa0b2
commit 61f0461d46

View file

@ -593,7 +593,8 @@ CMenus::CListboxItem CMenus::UiDoListboxNextItem(const void *pId, bool Selected,
CListboxItem Item = UiDoListboxNextRow();
if(Item.m_Visible && UI()->DoButtonLogic(pId, "", gs_ListBoxSelectedIndex == gs_ListBoxItemIndex, &Item.m_HitRect)){
if(Item.m_Visible && UI()->DoButtonLogic(pId, "", gs_ListBoxSelectedIndex == gs_ListBoxItemIndex, &Item.m_HitRect))
{
gs_ListBoxClicked = true;
gs_ListBoxNewSelected = ThisItemIndex;
}