small EA fixes

This commit is contained in:
andrey.zaytsev
2012-03-15 22:01:00 +04:00
parent 644286b86f
commit 5b5dbadbba
@@ -785,7 +785,7 @@ public class EditorSearchComponent extends EditorHeaderComponent implements Data
private void updateResults(final boolean allowedToChangedEditorSelection) {
myMatchInfoLabel.setFont(myMatchInfoLabel.getFont().deriveFont(Font.PLAIN));
final String text = mySearchField.getText();
final String text = myFindModel.getStringToFind();
if (text.length() == 0) {
nothingToSearchFor();
}