mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Set focus on input field when find zone window appears.
This commit is contained in:
parent
3bb2094751
commit
7d14aac137
@ -9848,6 +9848,10 @@ void View::DrawFindZone()
|
||||
ImGui::SetKeyboardFocusHere();
|
||||
m_shortcut = ShortcutAction::None;
|
||||
}
|
||||
else if( ImGui::IsWindowAppearing() )
|
||||
{
|
||||
ImGui::SetKeyboardFocusHere();
|
||||
}
|
||||
findClicked |= ImGui::InputTextWithHint( "###findzone", "Enter zone name to search for", m_findZone.pattern, 1024, ImGuiInputTextFlags_EnterReturnsTrue );
|
||||
ImGui::PopItemWidth();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user