Skip to main content

adopt_current

Function adopt_current 

Source
pub(crate) fn adopt_current(store: &Store, decided: Option<String>)
Expand description

After ensure_initial_data: open decided (from prepare_at_startup), or keep the one the client names, or the most recently opened. Writes its id and name onto the client, and when it was opened onto its row.