mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
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:
parent
c9ed7bf868
commit
847fc58a01
@ -191,6 +191,7 @@ void ComboBox::removeAllItems()
|
||||
delete *it;
|
||||
|
||||
m_items.clear();
|
||||
m_selected = -1;
|
||||
}
|
||||
|
||||
int ComboBox::getItemCount() const
|
||||
|
Loading…
Reference in New Issue
Block a user