Commit e238f21b authored by Pedro Arthur P. R. Duarte's avatar Pedro Arthur P. R. Duarte Committed by Albert Astals Cid
Browse files

Fix dangling annotation tooltip

parent 21262ae2
Pipeline #34335 passed with stage
in 10 minutes and 4 seconds
......@@ -782,6 +782,7 @@ void PageView::setupActions(KActionCollection *ac)
if (!d->annotator) {
d->annotator = new PageViewAnnotator(this, d->document);
connect(d->annotator, &PageViewAnnotator::toolSelected, d->aMouseNormal, &QAction::trigger);
connect(d->annotator, &PageViewAnnotator::toolSelected, d->mouseAnnotation, &MouseAnnotation::reset);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment