mirror of https://github.com/CGAL/cgal
Merge pull request #3969 from lrineau/Polyhedron-demo__fix_segfault_of_load_plugin-GF
Polyhedron demo: fix the menu entry 'Load plugin'
This commit is contained in:
commit
31dd4f11fb
|
|
@ -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<QDockWidget*>()) {
|
||||
|
|
|
|||
|
|
@ -454,7 +454,7 @@ private:
|
|||
bool bbox_need_update;
|
||||
QMap<QString, QPair<QStringList, QString> >plugin_metadata_map;
|
||||
QMap<QString, bool> ignored_map;
|
||||
const QStringList& accepted_keywords;
|
||||
QStringList accepted_keywords;
|
||||
|
||||
private:
|
||||
QMap<QAction*, QMenu*> action_menu_map;
|
||||
|
|
|
|||
Loading…
Reference in New Issue