From e125ea7275ecdf338a73e4ba878695c4077df403 Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 29 Dec 2011 01:11:06 +0000 Subject: enable copy on help git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@719 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- textedit.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'textedit.cpp') diff --git a/textedit.cpp b/textedit.cpp index 97c13ad..49c9b6d 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -480,11 +480,13 @@ void TextEdit::copy() return; } - if(curTextPage() == 0) { - + if(curTextPage() != 0) { + curTextPage()->copy(); + } else { + curHelpPage()->copy(); } - curTextPage()->copy(); + } void TextEdit::paste() -- cgit v1.2.3