diff --git a/src/App.jsx b/src/App.jsx index 6008cc81..5768c445 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1857,6 +1857,7 @@ const App = memo(() => { } async function fixInvalidDuration2() { + if (!checkFileOpened()) return; try { setWorking(i18n.t('Fixing file duration')); const path = await fixInvalidDuration({ fileFormat, customOutDir });