Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Fix UI would not update when you select the `Current State` option (#44340)
Remco Smitsd1e45e27deeb
diff --git a/crates/project/src/debugger/session.rs b/crates/project/src/debugger/session.rsindex 65e903e178f..82a139ea242 100644--- a/crates/project/src/debugger/session.rs+++ b/crates/project/src/debugger/session.rs@@ -1454,11 +1454,7 @@ impl Session {}self.selected_snapshot_index = ix;-- if ix.is_some() {- cx.emit(SessionEvent::HistoricSnapshotSelected);- }-+ cx.emit(SessionEvent::HistoricSnapshotSelected);cx.notify();}