[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kate/part
From:       Anders Lund <anders () alweb ! dk>
Date:       2004-04-06 23:06:55
Message-ID: 20040406230655.46E039A01 () office ! kde ! org
[Download RAW message or body]

CVS commit by alund: 

allow new docuemtns to get a name :-\


  M +1 -1      katedocument.cpp   1.681.2.7


--- kdelibs/kate/part/katedocument.cpp  #1.681.2.6:1.681.2.7
@@ -4021,5 +4021,5 @@ void KateDocument::setDocName (QString n
 
   // if the name is set, and starts with FILENAME, it should not be changed!
-  if ( m_docName.startsWith( url().filename() ) ) return;
+  if ( !m_docname.isEmpty() && m_docName.startsWith( url().filename() ) ) return;
 
   int count = -1;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic