}\r
\r
public void findNameAndTypeQuery(Scope scope) {\r
- String query = searchText.getText();\r
+ \r
+ String originalQuery = searchText.getText();\r
+ String query = originalQuery;\r
\r
// Don't allow empty queries\r
if (query.trim().isEmpty())\r
// Add option for showing only findings in currently open diagram\r
if (scope == Scope.CURRENT_DIAGRAM)\r
query += " " + CURRENT_DIAGRAM_OPTION;\r
- performQuery(query, ResultBrowser.VIEW);\r
+ performQuery(originalQuery, query, ResultBrowser.VIEW);\r
+ \r
} \r
\r
}\r