changeset 2563:bf0a885effb0 startup-timing

Add "Scanning plugins..." placeholder to transform menu
author Chris Cannam
date Tue, 16 Jun 2020 18:06:58 +0100
parents 59aa2fb55523
children e55433e351cd
files main/MainWindow.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Jun 16 17:49:40 2020 +0100
+++ b/main/MainWindow.cpp	Tue Jun 16 18:06:58 2020 +0100
@@ -1715,6 +1715,9 @@
     m_transformsMenu->setTearOffEnabled(true);
     m_transformsMenu->setSeparatorsCollapsible(true);
 
+    auto pending = m_transformsMenu->addAction(tr("Scanning plugins..."));
+    pending->setEnabled(false);
+    
     SVDEBUG << "MainWindow::prepareTransformsMenu: Starting installed-transform population thread" << endl;
     m_transformPopulater = new TransformPopulater(this);
     m_transformPopulater->start();