The swiss army knife of lossless video/audio editing
fix: start track import in the current media directory
DoomGuy8fcb0bb4cac5
diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsxindex 1cb50d99..d7e35489 100644--- a/src/renderer/src/App.tsx+++ b/src/renderer/src/App.tsx@@ -1979,12 +1979,16 @@ function App() {const showIncludeExternalStreamsDialog = useCallback(async () => {await withErrorHandling(async () => {- const { canceled, filePaths } = await showOpenDialog({ properties: ['openFile'], title: t('Include more tracks from other file') });+ const { canceled, filePaths } = await showOpenDialog({+ properties: ['openFile'],+ title: t('Include more tracks from other file'),+ ...(filePath != null ? { defaultPath: dirname(filePath) } : {}),+ });const [firstFilePath] = filePaths;if (canceled || firstFilePath == null) return;await addStreamSourceFile(firstFilePath);}, i18n.t('Failed to include track'));- }, [addStreamSourceFile, t, withErrorHandling]);+ }, [addStreamSourceFile, filePath, t, withErrorHandling]);const toggleFullscreenVideo = useCallback(async () => {if (!screenfull.isEnabled) {