ZIm/crates/workspace
Cristiano Pantea a364a13458
Fix panel not resizing after external file deletion (#26378)
Previously, when a file was deleted externally and the warning prompt
was dismissed with "Close", the panel remained but was empty, leaving an
unused split space.

This happened because pane.remove_item(...) was being called with
close_pane_if_empty set to false, preventing the panel from being
removed even when it had no remaining items.

This fix changes the third boolean parameter to true, ensuring that the
panel is removed if it becomes empty, allowing the layout to properly
resize.

Closes #23904

Release Notes:

- N/A
2025-03-11 22:52:55 +00:00
..
src Fix panel not resizing after external file deletion (#26378) 2025-03-11 22:52:55 +00:00
Cargo.toml Centralize the CopyPath and CopyRelativePath actions to zed_actions (#24836) 2025-02-13 23:30:44 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00