summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-12-25 15:30:40 (UTC)
committer llornkcor <llornkcor>2002-12-25 15:30:40 (UTC)
commitce5af9d00edb805f4c1115d5a461dae7210cb218 (patch) (side-by-side diff)
tree5fdd75447a787144d8ba53ef0f5e19bcf44f70d4
parent1cb75c721b69459494cb599730a96bbc1ddc0f65 (diff)
downloadopie-ce5af9d00edb805f4c1115d5a461dae7210cb218.zip
opie-ce5af9d00edb805f4c1115d5a461dae7210cb218.tar.gz
opie-ce5af9d00edb805f4c1115d5a461dae7210cb218.tar.bz2
fix dotfiles - again
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index dc0d61b..9ef423c 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -762,36 +762,36 @@ file.<BR>Open <B>.desktop</B> file or <B>linked</B> file?"),
DocLnk sf(f);
filer = sf.file();
break;
}
} else if(fi.baseName().left(1) == "") {
currentFileName=f;
openDotFile(currentFileName);
} else {
DocLnk sf(f);
filer = sf.file();
if(filer.right(1) == "/")
filer = f;
- }
DocLnk nf;
nf.setType("text/plain");
nf.setFile(filer);
currentFileName=filer;
nf.setName(fi.baseName());
openFile(nf);
qDebug("openFile string "+currentFileName);
+ }
showEditTools();
// Show filename in caption
QString name = filer;
int sep = name.findRev( '/' );
if ( sep > 0 )
name = name.mid( sep+1 );
updateCaption( name );
}
void TextEdit::openFile( const DocLnk &f ) {
// clear();
// bFromDocView = true;