FIX: [STUDIO-2065] icon action in ObjectList on macOS not work

Change-Id: I0b7d61a80afaeede3c7fb23afce9034a0b3bcaa6
This commit is contained in:
chunmao.guo
2023-01-17 16:44:11 +08:00
committed by Lane.Wei
parent 067f748cac
commit 4e483dc6ae
2 changed files with 37 additions and 4 deletions

View File

@@ -333,6 +333,9 @@ bool GLGizmosManager::open_gizmo(EType type)
if (m_gizmos[idx]->is_activable()
&& activate_gizmo(m_current == idx ? Undefined : (EType)idx)) {
update_data();
#ifdef __WXOSX__
m_parent.post_event(SimpleEvent(wxEVT_PAINT));
#endif
return true;
}
return false;