mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 19:18:38 +08:00
GP-6805 - Added checks for animation option
This commit is contained in:
+6
@@ -20,6 +20,7 @@ import java.awt.event.ActionListener;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
import docking.util.AnimationUtils;
|
||||
import generic.theme.GIcon;
|
||||
import ghidra.feature.vt.gui.filters.AncillaryFilterDialogComponentProvider;
|
||||
|
||||
@@ -49,6 +50,11 @@ public class FilterIconFlashTimer<T> extends Timer implements ActionListener {
|
||||
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
if (!AnimationUtils.isAnimationEnabled()) {
|
||||
stop();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!filterDialog.isFiltered()) {
|
||||
stop();
|
||||
return; // no filter applied
|
||||
|
||||
Reference in New Issue
Block a user