mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 07:11:59 +08:00
Fix for SPE-2040 : GTK3/GTK2 [Linux] Combo box stay open
This commit is contained in:
parent
4b5ee2db62
commit
ec7fc75e86
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user