mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 08:35:56 +08:00
Add focus on selected font when open combobox
This commit is contained in:
parent
bd5d2d4493
commit
99d3e102c8
@ -913,6 +913,7 @@ void GLGizmoEmboss::draw_font_list()
|
|||||||
if(m_font_manager.set_wx_font(wx_font))
|
if(m_font_manager.set_wx_font(wx_font))
|
||||||
process();
|
process();
|
||||||
}
|
}
|
||||||
|
if (is_selected) ImGui::SetItemDefaultFocus();
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
}
|
}
|
||||||
#ifdef SHOW_FONT_COUNT
|
#ifdef SHOW_FONT_COUNT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user