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

List:       kde-commits
Subject:    kdesdk/kbabel/kbabel
From:       Stanislav Višňovský <visnovsky () nenya ! ms ! mff ! cuni ! cz
Date:       2004-08-30 16:17:31
Message-ID: 20040830161731.4F1179265 () office ! kde ! org
[Download RAW message or body]

CVS commit by nanulo: 

don't try to diff if no file is open


  M +1 -1      kbabelview.cpp   1.263


--- kdesdk/kbabel/kbabel/kbabelview.cpp  #1.262:1.263
@@ -765,5 +765,5 @@ void KBabelView::updateSettings()
     msgidLabel->setDiffColors(KBabelSettings::diffAddColor(), KBabelSettings::diffDelColor());
 
-    if( _diffEnabled )
+    if( _diffEnabled && !_catalog->currentURL().isEmpty() )
     {
         diffShowOrig ();


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

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