From ec7fc75e8651dd59c125fa35530a83ea5ee0efed Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 19 Feb 2024 10:13:50 +0100 Subject: [PATCH] Fix for SPE-2040 : GTK3/GTK2 [Linux] Combo box stay open --- src/slic3r/GUI/Widgets/DropDown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Widgets/DropDown.cpp b/src/slic3r/GUI/Widgets/DropDown.cpp index cacb39fcd6..d7c3faa9df 100644 --- a/src/slic3r/GUI/Widgets/DropDown.cpp +++ b/src/slic3r/GUI/Widgets/DropDown.cpp @@ -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