mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: [STUDIO-1940] hide edit ctrl on scroll in ObjectList
Change-Id: I9936ecff241d468f14e3dda0c12e4458cad8c237
This commit is contained in:
@@ -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__
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user