git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1102632 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 50f9b9d83b
commit 46ea832417

@ -2409,6 +2409,10 @@ bool KateDocument::openFile(KIO::Job * job)
if ( fileTypeFound > -1 )
updateFileType( fileTypeFound );
// read dir config (if possible and wanted)
if (!m_reloading)
readDirConfig ();
// do we have success ?
bool success = m_buffer->openFile (m_file);
//
@ -2435,9 +2439,6 @@ bool KateDocument::openFile(KIO::Job * job)
if ( fileTypeFound < 0 )
updateFileType (KateFactory::self()->fileTypeManager()->fileType (this));
// read dir config (if possible and wanted)
readDirConfig ();
// read vars
readVariables();

Loading…
Cancel
Save