Fix wrong check

Parker messed up the logic that force it to be in text selection mode
to be on non text selecion mode when doing an unrelated change.

As the "bug" as showed we can selectAll in non text selection mode as well
so remove the check altogether

BUGS: 159276, 319554
FIXED-IN: 4.10.4
remotes/origin/KDE/4.10
Albert Astals Cid 13 years ago
parent c9964acdc6
commit 4e05cc2526
  1. 3
      ui/pageview.cpp

@ -807,9 +807,6 @@ void PageView::copyTextSelection() const
void PageView::selectAll()
{
if ( Okular::Settings::mouseMode() == Okular::Settings::EnumMouseMode::TextSelect )
return;
QVector< PageViewItem * >::const_iterator it = d->items.constBegin(), itEnd = d->items.constEnd();
for ( ; it < itEnd; ++it )
{

Loading…
Cancel
Save