提交 f5c05cc8 编写于 作者: A azvegint

8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called...

8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called for empty combobox on MacOS/aqua look and feel
Reviewed-by: anthony, pchelko
上级 953d17de
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册