Skip to content

Commit 79ef755

Browse files
committed
fix: send button enabled state
1 parent 35ee02b commit 79ef755

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/UserPromptTextArea.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ public void focusLost(FocusEvent e) {
9090
UserPromptTextArea.super.paintBorder(UserPromptTextArea.super.getGraphics());
9191
}
9292
});
93-
textArea.getDocument().addDocumentListener(new DocumentAdapter() {
94-
@Override
95-
protected void textChanged(@NotNull DocumentEvent e) {
96-
iconsPanel.getComponents()[0].setEnabled(e.getDocument().getLength() > 0);
97-
}
98-
});
9993
updateFont();
10094
init();
10195
}

0 commit comments

Comments
 (0)