Files
zed/crates/toolchain_selector
Kurian Jojo 128d3a4f2f Revert "Added support for dismissing the toolchain path selector via … (#49504)
…`esc` (#48201)"

This reverts commit ddebf3b74b.

Select toolchain path dialog immediately dismisses upon selecting a
path, preventing the addition of new toolchains

- OpenPathDelegate emits DismissEvents in the `confirm` function too
- when the selection is confirmed, DismissEvent is emitted
- ToolchainSelector calls cancel because it receives the DismissEvent,
and it goes to the Search State
- This prevents the selected toolchain from being resolved and the
ScopePicker being presented

cc: @JosephTLyons 

Release Notes:

- Fixed a regression where the toolchain path selector would immediately
dismiss upon selecting a path, preventing the addition of new
toolchains.
2026-02-18 17:07:10 -05:00
..
2024-10-28 15:34:03 +01:00