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

List:       kde-commits
Subject:    extragear/graphics/digikam/digikam
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2008-05-27 10:57:00
Message-ID: 1211885820.417813.16387.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 813282 by cgilles:

polish


 M  +4 -2      fuzzysearchview.cpp  
 M  +1 -0      timelineview.cpp  


--- trunk/extragear/graphics/digikam/digikam/fuzzysearchview.cpp #813281:813282
@@ -172,6 +172,7 @@
     d->resetButton->setWhatsThis(i18n("<p>Use this button to clear sketch contents."));
 
     d->nameEdit    = new KLineEdit(hbox2);
+    d->nameEdit->setClearButtonShown(true);
     d->nameEdit->setWhatsThis(i18n("<p>Enter the name of the current fuzzy search to save in the "
                                    "\"My Fuzzy Searches\" view"));
 
@@ -350,6 +351,7 @@
 
 void FuzzySearchView::slotDirty()
 {
+    slotCheckAboutSelection();
     createNewFuzzySearchAlbum(FuzzySearchFolderView::currentFuzzySearchName());
 }
 
@@ -380,7 +382,7 @@
 
 void FuzzySearchView::slotAlbumSelected(SAlbum* salbum)
 {
-    d->sketchWidget->slotClear();
+    slotClear();
 
     if (!salbum) 
         return;
@@ -431,7 +433,7 @@
 
 void FuzzySearchView::slotCheckAboutSelection()
 {
-    if (d->sketchWidget->isClear())
+    if (!d->sketchWidget->isClear())
     {
         d->nameEdit->setEnabled(true);
 
--- trunk/extragear/graphics/digikam/digikam/timelineview.cpp #813281:813282
@@ -195,6 +195,7 @@
                                       "dates selection from time-line will be "
                                       "clear."));
     d->nameEdit    = new KLineEdit(hbox2);
+    d->nameEdit->setClearButtonShown(true);
     d->nameEdit->setWhatsThis(i18n("<p>Enter the name of the current dates search to save in the "
                                    "\"My Date Searches\" view"));
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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