Fix new file dialog

This commit is contained in:
Skyler Lehmkuhl 2025-01-18 03:17:54 -05:00
parent 7b6dbf21c2
commit 666db06b78
1 changed files with 1 additions and 1 deletions

View File

@ -6729,7 +6729,7 @@ function outliner(object = undefined) {
async function startup() { async function startup() {
await loadConfig(); await loadConfig();
createNewFileDialog(_newFile, _open, config); createNewFileDialog(_newFile, _open, config);
if (!window.openedFiles) { if (!window.openedFiles?.length) {
showNewFileDialog(config); showNewFileDialog(config);
} }
} }