summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 4b7a86fe6..3d8490dc5 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -821,6 +821,11 @@ void Viewport::showTextFieldPopup(TextField *input)
mPopupMenu->showTextFieldPopup(getMouseX(), getMouseY(), input);
}
+void Viewport::showLinkPopup(const std::string &link)
+{
+ mPopupMenu->showLinkPopup(getMouseX(), getMouseY(), link);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)