FIX: clone shortcut key conflict with quit in macos
jira: STUDIO-5166 Change-Id: I548f275bb68d3b0e6bb3cfad6fe93df09d507da3
This commit is contained in:
parent
6ab1ee22eb
commit
433a4b2a7f
|
@ -3097,7 +3097,7 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||
#endif /* __APPLE__ */
|
||||
post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL));
|
||||
break;
|
||||
case WXK_CONTROL_Q:
|
||||
case WXK_CONTROL_K:
|
||||
post_event(SimpleEvent(EVT_GLTOOLBAR_CLONE));
|
||||
break;
|
||||
default: evt.Skip();
|
||||
|
|
|
@ -1465,7 +1465,7 @@ void MenuFactory::append_menu_item_clone(wxMenu* menu)
|
|||
#else
|
||||
static const wxString ctrl = _L("Ctrl+");
|
||||
#endif
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") + "\t" + ctrl + "Q", "",
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") + "\t" + ctrl + "K", "",
|
||||
[this](wxCommandEvent&) {
|
||||
plater()->clone_selection();
|
||||
}, "", nullptr,
|
||||
|
|
Loading…
Reference in New Issue