mirror of
https://github.com/rust-kotlin/ashell.git
synced 2026-09-22 00:00:59 +00:00
fix: clear connection_progress on tab close to resolve stuck modal (fixes #82)
This commit is contained in:
@@ -785,6 +785,9 @@ impl Ashell {
|
||||
}
|
||||
|
||||
pub(crate) fn handle_tab_close(&mut self, id: String) {
|
||||
if self.connection_progress.as_ref().map_or(false, |p| p.tab_id == id) {
|
||||
self.connection_progress = None;
|
||||
}
|
||||
let group_ix = self
|
||||
.tab_groups
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user