diff options
author | azvegint <none@none> | 2014-07-08 11:36:44 +0400 |
---|---|---|
committer | azvegint <none@none> | 2014-07-08 11:36:44 +0400 |
commit | 403f98ccde1c1b78216ce43fc87ffbcada3b5af6 (patch) | |
tree | df38b87fd2c6ee0f7dc6ea4950f5254b24aba80d | |
parent | 1716d484f74fd37f7cc56e03582f6ff9bfb9a4c1 (diff) |
8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called for empty combobox on MacOS/aqua look and feel
Reviewed-by: anthony, pchelko
-rw-r--r-- | src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java b/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java index b393338d0..0607f9c36 100644 --- a/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java +++ b/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java @@ -120,10 +120,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 |