From e3e0522e32d5b3ddec85f18c3638fdb388f66145 Mon Sep 17 00:00:00 2001 From: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> Date: Thu, 18 Sep 2025 16:15:25 -0400 Subject: [PATCH] debugger: Fix debug scenario picker showing history in reverse order (#38452) Closes #37859 Release Notes: - debugger: Fix sort order of pasted launched debug sessions in debugger launch modal --- crates/project/src/task_inventory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs index 4d85c8f2622c7e287c41f28089845b99d7b2ec4d..da6d87ac702b6e0e9b1ec459e810dc1ca37eeb7e 100644 --- a/crates/project/src/task_inventory.rs +++ b/crates/project/src/task_inventory.rs @@ -258,7 +258,7 @@ impl Inventory { ) { self.last_scheduled_scenarios .retain(|(s, _)| s.label != scenario.label); - self.last_scheduled_scenarios.push_back(( + self.last_scheduled_scenarios.push_front(( scenario, DebugScenarioContext { task_context,