chore: cleanup

This commit is contained in:
Adam
2026-02-12 14:32:31 -06:00
parent 3696d1ded1
commit 81c623f26e
3 changed files with 14 additions and 5 deletions

View File

@@ -345,10 +345,12 @@ export function DialogSelectFile(props: { mode?: DialogSelectFileMode; onOpenFil
const open = (path: string) => {
const value = file.tab(path)
tabs().open(value)
tabs().setActive(value)
file.load(path)
if (!view().reviewPanel.opened()) view().reviewPanel.open()
layout.fileTree.setTab("all")
props.onOpenFile?.(path)
tabs().setActive(value)
}
const handleSelect = (item: Entry | undefined) => {