Skip to content

Commit 71fe9fd

Browse files
committed
No longer clear the variables editor when it's hidden (#83)
1 parent a1c385c commit 71fe9fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/com/intellij/lang/jsgraphql/v1/ide/actions/JSGraphQLToggleVariablesAction.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ public void setSelected(AnActionEvent e, boolean state) {
7171
if (state) {
7272
variablesEditor.getContentComponent().grabFocus();
7373
} else {
74-
ApplicationManager.getApplication().runWriteAction(() -> {
75-
variablesEditor.getDocument().setText("");
76-
});
7774
queryEditor.getContentComponent().grabFocus();
7875
}
7976

0 commit comments

Comments
 (0)