mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -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
|
@ -5858,6 +5858,8 @@ void Plater::paste_from_clipboard()
|
|||
void Plater::search(bool plater_is_active)
|
||||
{
|
||||
if (plater_is_active) {
|
||||
if (is_preview_shown())
|
||||
return;
|
||||
// plater should be focused for correct navigation inside search window
|
||||
this->SetFocus();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue