Merge pull request #2779 from bojidar-bg/patch-5

Change popup_menu.cpp to deselect on .clear
This commit is contained in:
Juan Linietsky 2015-11-18 18:36:39 -03:00
commit 0bbe1e1657
1 changed files with 1 additions and 0 deletions

View File

@ -774,6 +774,7 @@ void PopupMenu::add_separator() {
void PopupMenu::clear() { void PopupMenu::clear() {
items.clear(); items.clear();
mouse_over=-1;
update(); update();
idcount=0; idcount=0;