From 645548cbcc7dd2ba24f29d67580169fe3a11e089 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 18 May 2020 11:46:17 +0100 Subject: [PATCH] Launcher: ensure cache rebuild dialog stays open. Disable the auto-close behaviour, which was causing us to end the rebuild too early, and then corrupt the DB --- src/GUI/QtLauncher.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index e15cf847b..369cf2240 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -107,6 +107,8 @@ void initNavCache() | Qt::MSWindowsFixedSizeDialogHint); rebuildProgress.setWindowModality(Qt::WindowModal); rebuildProgress.setMinimumWidth(600); + rebuildProgress.setAutoReset(true); + rebuildProgress.setAutoClose(false); rebuildProgress.show(); QTimer updateTimer;