Skip to content

Commit

Permalink
fix: use renamed ActivateItemByID
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambor committed Jul 22, 2024
1 parent aff6450 commit 20922bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npctalk_rules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 20922bd

Please sign in to comment.