mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 23:10:40 +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())
|
if (HasCapture())
|
||||||
ReleaseMouse();
|
ReleaseMouse();
|
||||||
if (hover_item >= 0) { // not moved
|
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
|
// To avoid cases, when some dialog appears after item selection, but DropDown is still shown
|
||||||
Hide();
|
Hide();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user