tui: refactor dialog system to use single active dialog instead of stack
This commit is contained in:
@@ -27,7 +27,7 @@ export function DialogSelectFile() {
|
||||
if (path) {
|
||||
tabs().open("file://" + path)
|
||||
}
|
||||
dialog.clear()
|
||||
dialog.close()
|
||||
}}
|
||||
>
|
||||
{(i) => (
|
||||
|
||||
Reference in New Issue
Block a user