mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 12:25:56 +08:00
Hide revert and delete preset buttons while search box focused (#5253)
This commit is contained in:
parent
193062570e
commit
4c1b66c0b7
@ -319,6 +319,8 @@ void Tab::create_preset_tab()
|
||||
if (m_presets_choice) m_presets_choice->Show();
|
||||
|
||||
m_btn_save_preset->Show();
|
||||
m_btn_delete_preset->Show(); // ORCA: fixes delete preset button visible while search box focused
|
||||
m_undo_btn->Show(); // ORCA: fixes revert preset button visible while search box focused
|
||||
m_btn_search->Show();
|
||||
m_search_item->Hide();
|
||||
|
||||
@ -347,6 +349,8 @@ void Tab::create_preset_tab()
|
||||
m_presets_choice->Hide();
|
||||
|
||||
m_btn_save_preset->Hide();
|
||||
m_btn_delete_preset->Hide(); // ORCA: fixes delete preset button visible while search box focused
|
||||
m_undo_btn->Hide(); // ORCA: fixes revert preset button visible while search box focused
|
||||
m_btn_search->Hide();
|
||||
m_search_item->Show();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user