From 8076f77e1e5840212cdbbcb6576902f47324ac44 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 13 Aug 2023 00:14:46 -0400 Subject: [PATCH] add missing connect() macro --- tools/lammps-gui/codeeditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lammps-gui/codeeditor.cpp b/tools/lammps-gui/codeeditor.cpp index 5333789180..baa18c5e75 100644 --- a/tools/lammps-gui/codeeditor.cpp +++ b/tools/lammps-gui/codeeditor.cpp @@ -193,6 +193,7 @@ void CodeEditor::contextMenuEvent(QContextMenuEvent *event) auto action = menu->addAction(QString("View Documentation for '%1'").arg(help)); action->setIcon(QIcon(":/system-help.png")); action->setData(page); + connect(action, &QAction::triggered, this, &CodeEditor::open_help); // if we link to help with specific styles (fix, compute, pair, bond, ...) // also link to the docs for the primary command auto words = help.split(' ');