mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-10 12:10:14 +00:00
fix: send button enabled state
This commit is contained in:
parent
35ee02ba79
commit
79ef7550fe
1 changed files with 0 additions and 6 deletions
|
|
@ -90,12 +90,6 @@ public class UserPromptTextArea extends JPanel {
|
|||
UserPromptTextArea.super.paintBorder(UserPromptTextArea.super.getGraphics());
|
||||
}
|
||||
});
|
||||
textArea.getDocument().addDocumentListener(new DocumentAdapter() {
|
||||
@Override
|
||||
protected void textChanged(@NotNull DocumentEvent e) {
|
||||
iconsPanel.getComponents()[0].setEnabled(e.getDocument().getLength() > 0);
|
||||
}
|
||||
});
|
||||
updateFont();
|
||||
init();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue