Browse Source

Added patch discussed at http://reviewboard.kde.org/r/1915/

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1102632 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
tpearson 10 years ago
parent
commit
46ea832417
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      kate/part/katedocument.cpp

+ 4
- 3
kate/part/katedocument.cpp View File

@@ -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