From 435a6547920005add585583e51400dd6495aabc9 Mon Sep 17 00:00:00 2001 From: Alexander Trufanov Date: Thu, 17 Nov 2022 01:10:52 +0300 Subject: [PATCH] Fix AutosaveTimer resume Should fix #117 --- src/app/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/MainWindow.cpp b/src/app/MainWindow.cpp index fe650ace5..4e5dbd99c 100644 --- a/src/app/MainWindow.cpp +++ b/src/app/MainWindow.cpp @@ -1852,6 +1852,7 @@ MainWindow::newProjectCreated(ProjectCreationContext* context) ); switchToNewProject(pages, context->outDir()); setAutoSaveInputDir(context->inputDir()); + resumeAutoSaveTimer(); } void @@ -1934,6 +1935,7 @@ MainWindow::projectOpened(ProjectOpeningContext* context) ); setAutoSaveInputDir(context->projectReader()->inputDirectory()); + resumeAutoSaveTimer(); } void