Commit d54e2515 authored by Pino Toscano's avatar Pino Toscano

clear the list of pages with text selection when the document changes

svn path=/trunk/KDE/kdegraphics/okular/; revision=755228
parent 3c52fd14
......@@ -686,6 +686,7 @@ void PageView::notifySetup( const QVector< Okular::Page * > & pageSet, int setup
delete *dIt;
d->items.clear();
d->visibleItems.clear();
d->pagesWithTextSelection.clear();
toggleFormWidgets( false );
bool haspages = !pageSet.isEmpty();
......
Markdown is supported
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