From e70a05718818fe1e140b98cefb842d4b4e497d66 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sun, 17 May 2020 00:16:25 +0200 Subject: [PATCH] Index rebuild dialog box was blocking test. --- nw/guimain.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nw/guimain.py b/nw/guimain.py index 782e8829..6278f47f 100644 --- a/nw/guimain.py +++ b/nw/guimain.py @@ -681,9 +681,10 @@ class GuiMain(QMainWindow): qApp.restoreOverrideCursor() tEnd = time() - self.makeAlert( - "Project index rebuilt in %.3f seconds." % (tEnd - tStart), nwAlert.INFO - ) + if self.mainConf.showGUI: + self.makeAlert( + "Project index rebuilt in %.3f seconds." % (tEnd - tStart), nwAlert.INFO + ) return True