Truly disable ad hoc keyword search buttons

This commit is contained in:
Richard Cordovano 2017-03-22 16:54:51 -04:00
parent 52ad984bc0
commit 6d477b42e9

View File

@ -132,7 +132,7 @@ class DropdownToolbar extends javax.swing.JPanel {
}
private void maybeShowListsPopup(MouseEvent evt) {
if (!active) {
if (!active || !listsButton.isEnabled()) {
return;
}
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {
@ -142,7 +142,7 @@ class DropdownToolbar extends javax.swing.JPanel {
}
private void maybeShowSearchPopup(MouseEvent evt) {
if (!active) {
if (!active || !searchDropButton.isEnabled()) {
return;
}
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {