Merge pull request #2762 from ESHAYAT102/fix/stopped-server-settings

🤖 Agent: read the diff at bcdbc252f: the sidebar's stopped-server entry now goes through `open_server`, which loads the server's settings instead of only setting `servers.open`. verify and launcher green; no harness reaches launcher code. Queued for the merger, which waits for this head's parity run.
This commit is contained in:
Ludovic Marie
2026-10-28 20:22:09 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1972,7 +1972,7 @@ impl Launcher {
.child(sub(tr(if up { "Running" } else { "Stopped" }).into())),
)
.on_click(cx.listener(move |this, _: &ClickEvent, _, cx| {
this.servers.open = Some(dir.clone());
this.open_server(dir.clone());
this.go(Page::Servers);
cx.notify();
})),
+1 -1
View File
@@ -477,7 +477,7 @@ impl Launcher {
});
}
fn open_server(&mut self, dir: PathBuf) {
pub(super) fn open_server(&mut self, dir: PathBuf) {
if self.servers.open.as_ref() == Some(&dir) {
return;
}