mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Suppress to show Search window on the Plater using Ctrl+F shortcut, when we are at Preview mode
This commit is contained in:
@@ -1151,7 +1151,7 @@ void MainFrame::init_menubar_as_editor()
|
||||
|
||||
editMenu->AppendSeparator();
|
||||
append_menu_item(editMenu, wxID_ANY, _L("Searc&h") + "\tCtrl+F",
|
||||
_L("Search in settings"), [this](wxCommandEvent&) { m_plater->search(/*m_tabpanel->GetCurrentPage() == */m_plater->IsShown()); },
|
||||
_L("Search in settings"), [this](wxCommandEvent&) { m_plater->search(m_plater->IsShown()); },
|
||||
"search", nullptr, []() {return true; }, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user