FIX:fix search dialog cannot dismiss when alt+tab

Change-Id: I2fd0099685ce80e72f6214643b35535c274f7e22
This commit is contained in:
liz.li 2022-11-22 14:20:06 +08:00 committed by Lane.Wei
parent 5f2a537f14
commit fafff5c1d1
2 changed files with 6 additions and 2 deletions

View file

@ -325,7 +325,6 @@ void Tab::create_preset_tab()
this->GetParent()->Layout();
wxGetApp().plater()->search(false, m_type, m_top_panel->GetParent(), m_search_input, m_btn_search);
m_search_input->SetFocus();
Thaw();
});