diff --git a/ares-device/src/picker/windows/mod.rs b/ares-device/src/picker/windows/mod.rs index f762a2e..94524d6 100644 --- a/ares-device/src/picker/windows/mod.rs +++ b/ares-device/src/picker/windows/mod.rs @@ -30,6 +30,11 @@ impl PickPrompt for PickPromptWindows { }) .collect(), ); + ui.devices.set_selection( + devices + .iter() + .position(|d| d.as_ref().default.unwrap_or(false)), + ); nwg::dispatch_thread_events();