Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CodenameOne/src/com/codename1/ui/ComboBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,13 @@ protected void fireClicked() {
l.eventSource = this;
l.disposeDialogOnSelection = true;
Form parentForm = getComponentForm();
//l.getSelectedStyle().setBorder(null);

// unlikely to ever happen but occurs on EDT violations
// github.com/codenameone/CodenameOne/issues/4726
if (parentForm == null) {
return;
}

int tint = parentForm.getTintColor();
parentForm.setTintColor(0);
Dialog popupDialog = createPopupDialog(l);
Expand Down
Loading