mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 14:33:12 +08:00
FIX: fix the dissmiss of Combobox
jira: [STUDIO-12226] Change-Id: Ibecd15608acf0d1118fe5e1b27c8b2aec756c48b
This commit is contained in:
parent
787ecce355
commit
bab463f1f5
@ -755,7 +755,9 @@ void DropDown::Dismiss()
|
||||
void DropDown::OnDismiss()
|
||||
{
|
||||
if (mainDropDown) {
|
||||
if (mainDropDown->hover_item < 0)
|
||||
|
||||
const wxPoint& mouse_pos = wxGetMousePosition();
|
||||
if (!mainDropDown->GetScreenRect().Contains(mouse_pos))
|
||||
mainDropDown->DismissAndNotify();
|
||||
else
|
||||
#ifdef __WIN32__
|
||||
|
Loading…
x
Reference in New Issue
Block a user