Skip to content

TagSpaces is an offline, open source, document manager with tagging support

set openAfterCreate parameter to false in other instances Windows

sytolkc1a159456f2b
diff --git a/src/renderer/hooks/CurrentLocationContextProvider.tsx b/src/renderer/hooks/CurrentLocationContextProvider.tsx
index 9a7d3f250..96f31dfc3 100644
--- a/src/renderer/hooks/CurrentLocationContextProvider.tsx
+++ b/src/renderer/hooks/CurrentLocationContextProvider.tsx
@@ -172,7 +172,7 @@ export const CurrentLocationContextProvider = ({
if (instanceId !== action.uuid) {
if (action.type === 'addLocation') {
const location = action.payload as TS.Location;
- addLocationInt(new CommonLocation(location));
+ addLocationInt(new CommonLocation(location), false);
} else if (action.type === 'editLocation') {
const location = action.payload as TS.Location;
skipInitialDirList.current = true; // don't change location dir after reflect