mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
ENH: add shortcut key of clone
Change-Id: I63a570ac05695d6cd1e36293f7ca9858d9f7f358
This commit is contained in:
parent
e88550b206
commit
0167baee89
2 changed files with 9 additions and 1 deletions
|
@ -1452,7 +1452,12 @@ wxMenu* MenuFactory::assemble_part_menu()
|
|||
|
||||
void MenuFactory::append_menu_item_clone(wxMenu* menu)
|
||||
{
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") , "",
|
||||
#ifdef __APPLE__
|
||||
static const wxString ctrl = ("Ctrl+");
|
||||
#else
|
||||
static const wxString ctrl = _L("Ctrl+");
|
||||
#endif
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") + "\t" + ctrl + "Q", "",
|
||||
[this](wxCommandEvent&) {
|
||||
plater()->clone_selection();
|
||||
}, "", nullptr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue