Fix for SPE-2040 : GTK3/GTK2 [Linux] Combo box stay open

This commit is contained in:
YuSanka 2024-02-19 10:13:50 +01:00 committed by Lukas Matena
parent 4b5ee2db62
commit ec7fc75e86

View File

@ -524,7 +524,7 @@ void DropDown::mouseReleased(wxMouseEvent& event)
if (HasCapture())
ReleaseMouse();
if (hover_item >= 0) { // not moved
#ifdef __WXOSX__
#ifndef _WIN32
// To avoid cases, when some dialog appears after item selection, but DropDown is still shown
Hide();
#endif