mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: use Show instead of Popup to avoid hung in MacOS
Change-Id: I80b4d64f0e50a566cb6cbe0d4e8db696970ead21
This commit is contained in:
parent
9a13ff7146
commit
3f6efa2037
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ void ComboBox::mouseDown(wxMouseEvent &event)
|
|||
} else if (drop.HasDismissLongTime()) {
|
||||
drop.autoPosition();
|
||||
drop_down = true;
|
||||
drop.Popup(this);
|
||||
drop.Show(); // Popup() will hung on MacOS
|
||||
wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN);
|
||||
GetEventHandler()->ProcessEvent(e);
|
||||
}
|
||||
|
@ -243,7 +243,7 @@ void ComboBox::keyDown(wxKeyEvent& event) {
|
|||
} else if (drop.HasDismissLongTime()) {
|
||||
drop.autoPosition();
|
||||
drop_down = true;
|
||||
drop.Popup(this);
|
||||
drop.Show(); // Popup() will hung on MacOS
|
||||
wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN);
|
||||
GetEventHandler()->ProcessEvent(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue