-rw-r--r-- | core/apps/textedit/textedit.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index f138572..0f19da9 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -834,6 +834,9 @@ void TextEdit::setDocument(const QString& fileref) | |||
834 | bFromDocView = TRUE; | 834 | bFromDocView = TRUE; |
835 | qDebug("setDocument "+fileref); | ||
836 | bFromDocView = TRUE; | ||
837 | if(fileref.find(".desktop",0,TRUE) == -1) { | ||
835 | openFile(fileref); | 838 | openFile(fileref); |
836 | // bFromDocView = TRUE; | 839 | } else { |
837 | // openFile(DocLnk(fileref)); | 840 | openFile(DocLnk(fileref)); |
838 | // showEditTools(); | 841 | } |
839 | } | 842 | } |