mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
FIX: [STUDIO-1940] hide edit ctrl on scroll in ObjectList
Change-Id: I9936ecff241d468f14e3dda0c12e4458cad8c237
This commit is contained in:
parent
bd29ac769c
commit
db65fd6e83
2 changed files with 27 additions and 2 deletions
|
@ -265,7 +265,8 @@ ObjectList::ObjectList(wxWindow* parent) :
|
|||
this->CallAfter([this]() { ensure_current_item_visible(); });
|
||||
#endif
|
||||
e.Skip();
|
||||
}));
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
ObjectList::~ObjectList()
|
||||
|
@ -4925,6 +4926,9 @@ void ObjectList::OnEditingStarted(wxDataViewEvent &event)
|
|||
if (col == colName) // TODO: for colName editing, disable shortcuts
|
||||
SetAcceleratorTable(wxNullAcceleratorTable);
|
||||
}
|
||||
#ifdef __WXOSX__
|
||||
SetCustomRendererPtr(dynamic_cast<wxDataViewCustomRenderer*>(renderer));
|
||||
#endif
|
||||
#endif //__WXMSW__
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue