Fix UI problem navigating FileSelector using autocomplete and keyboard

With this fix, when the list of possible completions for a filename
is regenerated, we deselect the previously selected item. So the new
list appears without any item selected by default.
This commit is contained in:
David Capello 2015-08-12 15:17:53 -03:00
parent c9ed7bf868
commit 847fc58a01

View File

@ -191,6 +191,7 @@ void ComboBox::removeAllItems()
delete *it;
m_items.clear();
m_selected = -1;
}
int ComboBox::getItemCount() const