diff --git a/refbox/src/app/mod.rs b/refbox/src/app/mod.rs index 1f0b176..6c60b20 100644 --- a/refbox/src/app/mod.rs +++ b/refbox/src/app/mod.rs @@ -2148,6 +2148,15 @@ impl Application for RefBoxApp { } if let Some(ref mut tournaments) = self.tournaments { + if let Some(pools) = tournament.pools.as_ref() { + if pools.len() == 1 { + if let Some(ref mut edits) = self.edited_settings { + if edits.current_pool.is_none() { + edits.current_pool = Some(pools[0].clone()); + } + } + } + } tournaments.insert(tournament.tid, tournament); } else { warn!(