mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: call DismissAndNotify to manual close popup
Change-Id: I395708a98dda390f81d52151c9c52ba367de5a3d
This commit is contained in:
@@ -215,7 +215,7 @@ void ComboBox::mouseDown(wxMouseEvent &event)
|
||||
} else if (drop.HasDismissLongTime()) {
|
||||
drop.autoPosition();
|
||||
drop_down = true;
|
||||
drop.Show(); // Popup() will hung on MacOS
|
||||
drop.Popup();
|
||||
wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN);
|
||||
GetEventHandler()->ProcessEvent(e);
|
||||
}
|
||||
@@ -242,7 +242,7 @@ void ComboBox::keyDown(wxKeyEvent& event) {
|
||||
} else if (drop.HasDismissLongTime()) {
|
||||
drop.autoPosition();
|
||||
drop_down = true;
|
||||
drop.Show(); // Popup() will hung on MacOS
|
||||
drop.Popup();
|
||||
wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN);
|
||||
GetEventHandler()->ProcessEvent(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user