Commit e4e5ded6 authored by Egor Ushakov's avatar Egor Ushakov
Browse files

change language for history element

(cherry picked from commit ab71ef30) (IDEA-CR-29391)
parent ede081c0
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 5 deletions
+2 -5
......@@ -106,10 +106,8 @@ public class XDebuggerExpressionComboBox extends XDebuggerEditorBase {
@Override
protected void doSetText(XExpression text) {
//if (myComboBox.isEditable()) {
myEditor.setItem(text);
//}
myExpression = text;
myEditor.getEditorTextField().setNewDocumentAndFileType(getFileType(text), createDocument(text));
}
@Override
......@@ -182,8 +180,7 @@ public class XDebuggerExpressionComboBox extends XDebuggerEditorBase {
@Override
public void setItem(Object anObject) {
if (anObject != null) { // do not reset the editor on null
XExpression expression = (XExpression)anObject;
myDelegate.getEditorComponent().setNewDocumentAndFileType(getFileType(expression), createDocument(expression));
setExpression((XExpression)anObject);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment