[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [okular] ui: Revert "Grey out copy option for empty text selections"
From: Geoffry Song <goffrie () gmail ! com>
Date: 2011-11-24 0:12:40
Message-ID: 20111124001240.A5C8CA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 4877786a7897fac475652f7ef101e060247908ac by Geoffry Song.
Committed on 24/11/2011 at 01:12.
Pushed by geoffrysong into branch 'master'.
Revert "Grey out copy option for empty text selections"
This reverts commit 34b2e1bab5d4ca6c098ac5d09ee5a7ae4dbe40ad.
this was a mistake (it also adds a new string)
M +0 -5 ui/pageview.cpp
http://commits.kde.org/okular/4877786a7897fac475652f7ef101e060247908ac
diff --git a/ui/pageview.cpp b/ui/pageview.cpp
index bee6b79..82f54d1 100644
--- a/ui/pageview.cpp
+++ b/ui/pageview.cpp
@@ -2624,11 +2624,6 @@ void PageView::mouseReleaseEvent( QMouseEvent * e )
textToClipboard->setEnabled( false );
textToClipboard->setText( i18n("Copy forbidden=
by DRM") );
}
- else if ( d->selectedText().isEmpty() )
- {
- textToClipboard->setEnabled( false );
- textToClipboard->setText( i18n("Nothing to cop=
y") );
- }
else
{
addWebShortcutsMenu( &menu, d->selectedText() =
);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic