Skip to content

Commit

Permalink
Make the Apply button disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lippfi committed Jan 23, 2024
1 parent 9970ab8 commit 0e69168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class ModeWidgetPopup : AnAction() {
val mainPanel = JPanel(BorderLayout())
val buttonPanel = JPanel(FlowLayout(FlowLayout.RIGHT))

val applyButton = JButton("Apply")
val applyButton = JButton("Apply").apply { isEnabled = false }
val cancelButton = JButton("Close")
buttonPanel.add(applyButton)
buttonPanel.add(cancelButton)
Expand Down

0 comments on commit 0e69168

Please sign in to comment.