Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Fix/desktop open with tool access (#6056)

Saksham Jainfbae819d7c88
diff --git a/frontend/src/desktop/hooks/useAppInitialization.ts b/frontend/src/desktop/hooks/useAppInitialization.ts
index 7796842ca1..6bbca20fdb 100644
--- a/frontend/src/desktop/hooks/useAppInitialization.ts
+++ b/frontend/src/desktop/hooks/useAppInitialization.ts
@@ -59,7 +59,7 @@ export function useAppInitialization(): void {
const filesArray = loadedFiles.map(entry => entry.file);
const quickKeyToPath = new Map(loadedFiles.map(entry => [entry.quickKey, entry.filePath]));
- const addedFiles = await addFiles(filesArray);
+ const addedFiles = await addFiles(filesArray, { selectFiles: true });
addedFiles.forEach(file => {
const localFilePath = quickKeyToPath.get(file.quickKey);
if (localFilePath) {