mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Truly disable ad hoc keyword search buttons
This commit is contained in:
parent
52ad984bc0
commit
6d477b42e9
@ -132,7 +132,7 @@ class DropdownToolbar extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void maybeShowListsPopup(MouseEvent evt) {
|
private void maybeShowListsPopup(MouseEvent evt) {
|
||||||
if (!active) {
|
if (!active || !listsButton.isEnabled()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {
|
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {
|
||||||
@ -142,7 +142,7 @@ class DropdownToolbar extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void maybeShowSearchPopup(MouseEvent evt) {
|
private void maybeShowSearchPopup(MouseEvent evt) {
|
||||||
if (!active) {
|
if (!active || !searchDropButton.isEnabled()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {
|
if (evt != null && !SwingUtilities.isLeftMouseButton(evt)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user