File tree Expand file tree Collapse file tree
src/main/java/com/laker/postman Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,6 +377,11 @@ public DragEnableEditor() {
377377 checkBox .setHorizontalAlignment (SwingConstants .CENTER );
378378 checkBox .setOpaque (false );
379379
380+ // Add ActionListener to immediately commit checkbox changes
381+ checkBox .addActionListener (e -> {
382+ fireEditingStopped ();
383+ });
384+
380385 panel .add (dragLabel , BorderLayout .WEST );
381386 panel .add (checkBox , BorderLayout .CENTER );
382387
Original file line number Diff line number Diff line change 4848@ Slf4j
4949public class EnvironmentPanel extends SingletonBasePanel {
5050 public static final String SAVE_VARIABLES = "saveVariables" ;
51- public static final String COLUMN_NAME = "Name" ;
52- public static final String COLUMN_VALUE = "Value" ;
5351 public static final String EXPORT_FILE_NAME = "EasyPostman-Environments.json" ;
5452 private EasyPostmanEnvironmentTablePanel variablesTablePanel ;
5553 private transient Environment currentEnvironment ;
You can’t perform that action at this time.
0 commit comments