8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called for empty combobox on MacOS/aqua look and feel
Reviewed-by: anthony, pchelko
This commit is contained in:
parent
d5f9bdbecf
commit
05920770b8
@ -121,10 +121,6 @@ class AquaComboBoxPopup extends BasicComboPopup {
|
||||
public void show() {
|
||||
final int startItemCount = comboBox.getItemCount();
|
||||
|
||||
if (startItemCount == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
final Rectangle popupBounds = adjustPopupAndGetBounds();
|
||||
if (popupBounds == null) return; // null means don't show
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user