diff options
Diffstat (limited to 'textedit.cpp')
-rw-r--r-- | textedit.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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() |