mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
Fix dangling annotation tooltip
This commit is contained in:
parent
21262ae22b
commit
e238f21bbb
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
d->annotator->setupActions(ac);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue