Skip to content

Commit

Permalink
Fix AutosaveTimer resume
Browse files Browse the repository at this point in the history
Should fix trufanov-nok#117
  • Loading branch information
trufanov-nok authored Nov 16, 2022
1 parent c2b22a6 commit 66879b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1852,6 +1852,7 @@ MainWindow::newProjectCreated(ProjectCreationContext* context)
);
switchToNewProject(pages, context->outDir());
setAutoSaveInputDir(context->inputDir());
resumeAutoSaveTimer();
}

void
Expand Down Expand Up @@ -1934,6 +1935,7 @@ MainWindow::projectOpened(ProjectOpeningContext* context)
);

setAutoSaveInputDir(context->projectReader()->inputDirectory());
resumeAutoSaveTimer();
}

void
Expand Down

0 comments on commit 66879b7

Please sign in to comment.