mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: some tip logic optimize
1. Only check printablily if have explicit filament map 2. Refine some sentences jira:STUDIO-9753,STUDIO-9727 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I2fc3aa2276dc6f514c50ac2fcaf9509f41e778f3 (cherry picked from commit 73f92d27dab667c8893ab96e47f3832ce9d2de60)
This commit is contained in:
@@ -1478,7 +1478,7 @@ void MenuFactory::create_filament_action_menu(bool init, int active_filament_men
|
||||
[]() { return true; }, m_parent);
|
||||
}
|
||||
|
||||
const int item_id = menu->FindItem(_L("Change to"));
|
||||
const int item_id = menu->FindItem(_L("Delete then replace with"));
|
||||
if (item_id != wxNOT_FOUND)
|
||||
menu->Destroy(item_id);
|
||||
|
||||
@@ -1496,7 +1496,7 @@ void MenuFactory::create_filament_action_menu(bool init, int active_filament_men
|
||||
[i](wxCommandEvent&) { plater()->sidebar().change_filament(-2, i); }, *icons[i], menu,
|
||||
[]() { return true; }, m_parent);
|
||||
}
|
||||
append_submenu(menu, sub_menu, wxID_ANY, _L("Change to"), "", "",
|
||||
append_submenu(menu, sub_menu, wxID_ANY, _L("Delete then replace with"), "", "",
|
||||
[filaments_cnt]() { return filaments_cnt > 1; }, m_parent, 1);
|
||||
|
||||
if (init) {
|
||||
|
||||
Reference in New Issue
Block a user