summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/maintab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/maintab.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp
index 96dfb7ce1..da918c633 100644
--- a/desktop-widgets/maintab.cpp
+++ b/desktop-widgets/maintab.cpp
@@ -195,6 +195,9 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
connect(ui.diveNotesMessage, &KMessageWidget::showAnimationFinished,
ui.location, &DiveLocationLineEdit::fixPopupPosition);
+ // enable URL clickability in notes:
+ new TextHyperlinkEventFilter(ui.notes);//destroyed when ui.notes is destroyed
+
acceptingEdit = false;
ui.diveTripLocation->hide();