add missing connect() macro

This commit is contained in:
Axel Kohlmeyer
2023-08-13 00:14:46 -04:00
parent d4b6302b31
commit 8076f77e1e

View File

@ -193,6 +193,7 @@ void CodeEditor::contextMenuEvent(QContextMenuEvent *event)
auto action = menu->addAction(QString("View Documentation for '%1'").arg(help)); auto action = menu->addAction(QString("View Documentation for '%1'").arg(help));
action->setIcon(QIcon(":/system-help.png")); action->setIcon(QIcon(":/system-help.png"));
action->setData(page); action->setData(page);
connect(action, &QAction::triggered, this, &CodeEditor::open_help);
// if we link to help with specific styles (fix, compute, pair, bond, ...) // if we link to help with specific styles (fix, compute, pair, bond, ...)
// also link to the docs for the primary command // also link to the docs for the primary command
auto words = help.split(' '); auto words = help.split(' ');