mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
Suppress to show Search window on the Plater using Ctrl+F shortcut, when we are at Preview mode
This commit is contained in:
parent
4496e2a8ce
commit
8bc23c90fc
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue