option menu: reset currently open dropdownmenu when changing search filter
This commit is contained in:
parent
5dc7299ec0
commit
48c8694020
|
@ -1088,6 +1088,10 @@ public class OptionsOverlay extends OverlayOpsuState {
|
||||||
}
|
}
|
||||||
updateHoverOption(prevMouseX, prevMouseY);
|
updateHoverOption(prevMouseX, prevMouseY);
|
||||||
updateActiveSection();
|
updateActiveSection();
|
||||||
|
if (openDropdownMenu != null) {
|
||||||
|
openDropdownMenu.reset();
|
||||||
|
openDropdownMenu = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean hasSearchResults(String searchText) {
|
private boolean hasSearchResults(String searchText) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user