Follow-up of 095062e371 -> 3DConnexion settings dialog (Ctrl+M) shown only on Linux (not Mac)

This commit is contained in:
Enrico Turri 2020-03-31 15:30:24 +02:00
parent 095062e371
commit 081a24abf3
2 changed files with 5 additions and 6 deletions

View file

@ -3013,16 +3013,15 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
post_event(SimpleEvent(EVT_GLTOOLBAR_COPY));
break;
#ifdef __APPLE__
case 'm':
case 'M':
#ifdef __linux__
case WXK_CONTROL_M:
{
Mouse3DController& controller = wxGetApp().plater()->get_mouse3d_controller();
controller.show_settings_dialog(!controller.is_settings_dialog_shown());
m_dirty = true;
break;
}
#endif /* __APPLE__ */
#endif /* __linux__ */
#ifdef __APPLE__
case 'v':