diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/DropdownToolbar.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/DropdownToolbar.java index 2d19342923..a1ce0a7425 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/DropdownToolbar.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/DropdownToolbar.java @@ -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)) {