diff --git a/src/npctalk_rules.cpp b/src/npctalk_rules.cpp index fabbd90561b68..35a930d47076c 100644 --- a/src/npctalk_rules.cpp +++ b/src/npctalk_rules.cpp @@ -357,7 +357,7 @@ void follower_rules_ui_impl::draw_controls() ImGui::NavMoveRequestSubmit( ImGuiDir_Right, ImGuiDir_Right, ImGuiNavMoveFlags_None, ImGuiScrollFlags_None ); } else if( last_action == "CONFIRM" ) { - ImGui::ActivateItem( ImGui::GetFocusID() ); + ImGui::ActivateItemByID( ImGui::GetFocusID() ); } ImGui::SetWindowSize( ImVec2( window_width, window_height ), ImGuiCond_Once );