pane: Do not autopin new item created as a neighbour of pinned tab (#18072)
When I used editor::NewFile or ProjectSearch from a pinned tab, the resulting new tab would be pinned (and the last pinned tab would be pushed off). This PR fixes it by always storing new tabs outside of the pinned area if there's no destination index for the new tab. Release Notes: - Fixed tab bar not preserving pinned tab state when an editor::NewFile action is executed.
P
Piotr Osiewicz committed
d2894ce9c99586e9cd0588fa9b4db27bbd64f0ca
Parent: d91e625
Committed by GitHub <noreply@github.com>
on 9/19/2024, 3:00:26 PM