reset only ComboBox when close all search results

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2632 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-03-25 19:20:16 +00:00
parent 7b6962499a
commit 220d9039bb
2 changed files with 2 additions and 2 deletions

View File

@ -444,6 +444,7 @@ void SearchDialog::searchRemoveAll()
{ {
ui.searchResultWidget->clear(); ui.searchResultWidget->clear();
ui.searchSummaryWidget->clear(); ui.searchSummaryWidget->clear();
ui.FileTypeComboBox->setCurrentIndex(0);
nextSearchId = 1; nextSearchId = 1;
} }
@ -451,7 +452,6 @@ void SearchDialog::searchRemoveAll()
void SearchDialog::clearKeyword() void SearchDialog::clearKeyword()
{ {
ui.lineEdit->clear(); ui.lineEdit->clear();
ui.FileTypeComboBox->setCurrentIndex(0);
ui.lineEdit->setFocus(); ui.lineEdit->setFocus();
} }

View File

@ -1097,7 +1097,7 @@ border-image: url(:/images/btn_26_pressed.png) 4;
</string> </string>
</property> </property>
<property name="text"> <property name="text">
<string>Clear all Search Results</string> <string>Close All Search Results</string>
</property> </property>
</widget> </widget>
</item> </item>