-rw-r--r-- | noncore/apps/opie-gutenbrowser/LibraryDialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp index 3c096ed..7426e80 100644 --- a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp @@ -596,6 +596,9 @@ bool LibraryDialog::setTitle() test = 1; } } + + if(test == 0 ) { + config.setGroup("Files"); config.writeEntry( "NumberOfFiles", i_numofFiles +1 ); QString interger; @@ -603,7 +606,7 @@ bool LibraryDialog::setTitle() config.writeEntry( interger, File_Name); config.setGroup( "Titles" ); config.writeEntry( File_Name, DlglistItemTitle); - + } test = 0; return true; } @@ -747,6 +750,8 @@ void LibraryDialog::onButtonSearch() // odebug << texter << oendl; resultLs= SearchResultsDialog->resultsList; i_berger = 1; + } else { + resultLs.clear(); } Searchlist.clear(); |