ENH:Unified text,remove unused shortcut key for "Show Labels"

jira: STUDIO-7638
Change-Id: Icfbf72cbf9664aa0f2d0d3032df93880498caeae
This commit is contained in:
zhou.xu 2024-07-17 15:45:51 +08:00 committed by Lane.Wei
parent 1edf624077
commit 630d36324f
1 changed files with 1 additions and 1 deletions

View File

@ -2654,7 +2654,7 @@ void MainFrame::init_menubar_as_editor()
viewMenu->Check(wxID_CAMERA_ORTHOGONAL + camera_id_base, true);
viewMenu->AppendSeparator();
append_menu_check_item(viewMenu, wxID_ANY, _L("Show &Labels") + "\t" + ctrl + "E", _L("Show object labels in 3D scene"),
append_menu_check_item(viewMenu, wxID_ANY, _L("Show Labels") + "\t" + ctrl + "E", _L("Show object labels in 3D scene"),
[this](wxCommandEvent&) { m_plater->show_view3D_labels(!m_plater->are_view3D_labels_shown()); m_plater->get_current_canvas3D()->post_event(SimpleEvent(wxEVT_PAINT)); }, this,
[this]() { return m_plater->is_view3D_shown(); }, [this]() { return m_plater->are_view3D_labels_shown(); }, this);