Fixed linux compilation.
This commit is contained in:
parent
06e4cbb9be
commit
9fa93d74d5
@ -274,7 +274,7 @@ std::string ListWidget::getSelectionInternalName()
|
||||
int selectionID = getSelectionID();
|
||||
if (selectionID == -1 || selectionID >= (int)list->getItemCount())
|
||||
return "";
|
||||
CGUISTKListBox::ListItem& item = list->getItem(selectionID);
|
||||
const CGUISTKListBox::ListItem& item = list->getItem(selectionID);
|
||||
return item.m_internal_name;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user