mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: Intercept IDLE event in DropDown to fix various problems on MacOS
Change-Id: Ia9aa96c90f1b7c3f6c33b7325dc28a4f780969c3
This commit is contained in:
@@ -4741,9 +4741,7 @@ void ObjectList::OnEditingStarted(wxDataViewEvent &event)
|
||||
auto item = event.GetItem();
|
||||
if (!renderer->GetEditorCtrl()) {
|
||||
renderer->StartEditing(item, GetItemRect(item, column));
|
||||
if (col == colFilament) // TODO: not handle KILL_FOCUS from ComboBox
|
||||
renderer->GetEditorCtrl()->PopEventHandler();
|
||||
else if (col == colName) // TODO: for colName editing, disable shortcuts
|
||||
if (col == colName) // TODO: for colName editing, disable shortcuts
|
||||
SetAcceleratorTable(wxNullAcceleratorTable);
|
||||
}
|
||||
#endif //__WXMSW__
|
||||
|
||||
Reference in New Issue
Block a user