We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d423a commit bf566c8Copy full SHA for bf566c8
CodenameOne/src/com/codename1/ui/ComboBox.java
@@ -485,8 +485,13 @@ protected void fireClicked() {
485
l.eventSource = this;
486
l.disposeDialogOnSelection = true;
487
Form parentForm = getComponentForm();
488
- //l.getSelectedStyle().setBorder(null);
489
+ // unlikely to ever happen but occurs on EDT violations
490
+ // github.com/codenameone/CodenameOne/issues/4726
491
+ if (parentForm == null) {
492
+ return;
493
+ }
494
+
495
int tint = parentForm.getTintColor();
496
parentForm.setTintColor(0);
497
Dialog popupDialog = createPopupDialog(l);
0 commit comments