mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-17 01:13:30 +00:00
Restore select all plates as its own action (#12256)
restore select all plates as its own function Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -1581,6 +1581,14 @@ void MenuFactory::create_plate_menu()
|
||||
return !plate->get_objects().empty();
|
||||
}, m_parent);
|
||||
|
||||
// select objects on all plates
|
||||
append_menu_item(menu, wxID_ANY, _L("Select All Plates"), _L("select all objects on all plates"),
|
||||
[](wxCommandEvent&) {
|
||||
plater()->select_all();
|
||||
}, "", nullptr, []() {
|
||||
return !plater()->model().objects.empty();
|
||||
}, m_parent);
|
||||
|
||||
// delete objects on current plate
|
||||
append_menu_item(menu, wxID_ANY, _L("Delete All"), _L("delete all objects on current plate"),
|
||||
[](wxCommandEvent&) {
|
||||
|
||||
Reference in New Issue
Block a user