Some refactoring to fix OSX build

This commit is contained in:
YuSanka 2019-04-30 09:11:57 +02:00
parent 88fc45797c
commit 6ddefc6a65

View file

@ -1886,7 +1886,8 @@ void ObjectList::part_selection_changed()
if (item) {
wxGetApp().obj_manipul()->get_og()->set_value("object_name", m_objects_model->GetName(item));
wxGetApp().obj_manipul()->update_manifold_warning_icon_state(get_mesh_errors_list(obj_idx, volume_id));
const wxString& tooltip = get_mesh_errors_list(obj_idx, volume_id);
wxGetApp().obj_manipul()->update_manifold_warning_icon_state(tooltip);
}
}