don't open first file of batch

to make it faster to load batches
exiftool-integration
Mikael Finstad 5 years ago
parent 64c7811037
commit 1d33b6b90a
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -1604,7 +1604,6 @@ const App = memo(() => {
setConcatDialogVisible(true);
} else {
batchLoadPaths(filePaths, true);
batchOpenSingleFile(filePaths[0]);
}
return;
}
@ -1666,7 +1665,7 @@ const App = memo(() => {
} finally {
setWorking();
}
}, [batchLoadPaths, alwaysConcatMultipleFiles, batchOpenSingleFile, setWorking, isFileOpened, userOpenSingleFile, checkFileOpened, loadEdlFile, enableAskForFileOpenAction, addStreamSourceFile]);
}, [batchLoadPaths, alwaysConcatMultipleFiles, setWorking, isFileOpened, userOpenSingleFile, checkFileOpened, loadEdlFile, enableAskForFileOpenAction, addStreamSourceFile]);
const userHtml5ifyCurrentFile = useCallback(async () => {
if (!filePath) return;

Loading…
Cancel
Save