mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: Intercept IDLE event in DropDown to fix various problems on MacOS
Change-Id: Ia9aa96c90f1b7c3f6c33b7325dc28a4f780969c3
This commit is contained in:
parent
ace72ecdbc
commit
646934953c
5 changed files with 59 additions and 40 deletions
|
@ -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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue