summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemlinkhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r--src/gui/widgets/itemlinkhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp
index 47314ca5c..6207775f0 100644
--- a/src/gui/widgets/itemlinkhandler.cpp
+++ b/src/gui/widgets/itemlinkhandler.cpp
@@ -198,6 +198,15 @@ void ItemLinkHandler::handleLink(const std::string &link,
{
handleCommandLink(link, "=");
}
+ else if (link == "news")
+ {
+ if (helpWindow)
+ helpWindow->loadHelpSimple("news");
+ }
+ if (link == "copyright")
+ {
+ inputManager.executeAction(InputAction::WINDOW_ABOUT);
+ }
else
{
handleItemLink(link);