mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix debugger evaluate histiry combobox
This commit is contained in:
@@ -121,7 +121,7 @@ public class DebuggerExpressionComboBox extends DebuggerEditorImpl {
|
||||
LinkedList<TextWithImports> recents = DebuggerRecents.getInstance(getProject()).getRecents(getRecentsId());
|
||||
ArrayList<TextWithImports> singleLine = new ArrayList<TextWithImports>();
|
||||
for (TextWithImports evaluationText : recents) {
|
||||
if (evaluationText.getText().indexOf('\n') == -1) {
|
||||
if (evaluationText.getText().indexOf('\n') == -1 && singleLine.indexOf(evaluationText) == -1) {
|
||||
singleLine.add(evaluationText);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user