From ecaa13876199dbc13e4000e8e5e47e2a043f11d8 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 29 May 2019 11:44:08 +0200 Subject: [PATCH] Do not block load_plugin from loading plugins Since the adoption of the "keywords" feature, the 'Load plugin' menu was not able to load a plugin with other keywords. That defeats the purpose of that feature. --- Polyhedron/demo/Polyhedron/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Polyhedron/demo/Polyhedron/MainWindow.cpp b/Polyhedron/demo/Polyhedron/MainWindow.cpp index 358d6a1ac93..36244401da4 100644 --- a/Polyhedron/demo/Polyhedron/MainWindow.cpp +++ b/Polyhedron/demo/Polyhedron/MainWindow.cpp @@ -362,6 +362,7 @@ MainWindow::MainWindow(const QStringList &keywords, bool verbose, QWidget* paren connect(&operationSearchBar, &QLineEdit::textChanged, this, &MainWindow::filterOperations); loadPlugins(); + accepted_keywords.clear(); // Setup the submenu of the View menu that can toggle the dockwidgets Q_FOREACH(QDockWidget* widget, findChildren()) {