mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Hot fix for 9305535039
This commit is contained in:
parent
275bc52fdf
commit
32c60b070e
2 changed files with 5 additions and 5 deletions
|
@ -862,11 +862,11 @@ void Choice::BUILD() {
|
|||
#endif
|
||||
|
||||
temp->Bind(wxEVT_COMBOBOX_DROPDOWN, [this](wxCommandEvent&) { m_is_dropped = true; });
|
||||
temp->Bind(wxEVT_COMBOBOX_CLOSEUP, [this](wxCommandEvent& evt) {
|
||||
temp->Bind(wxEVT_COMBOBOX_CLOSEUP, [this, temp](wxCommandEvent&) {
|
||||
// EVT_COMBOBOX_CLOSEUP is called after EVT_COMBOBOX on Windows
|
||||
// so, always set m_suppress_change to "true"
|
||||
#ifndef __WXMSW__
|
||||
if (m_last_selected == evt.GetSelection())
|
||||
if (m_last_selected == temp->GetSelection())
|
||||
#endif //__WXMSW__
|
||||
m_is_dropped = false;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue