summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/PanelController.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/PanelController.java')
-rw-r--r--src/com/android/gallery3d/filtershow/PanelController.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/PanelController.java b/src/com/android/gallery3d/filtershow/PanelController.java
index 1d0118f85..e9a913610 100644
--- a/src/com/android/gallery3d/filtershow/PanelController.java
+++ b/src/com/android/gallery3d/filtershow/PanelController.java
@@ -544,6 +544,9 @@ public class PanelController implements OnClickListener {
if (filterRepresentation == null) {
return;
}
+ if (filterRepresentation == MasterImage.getImage().getCurrentFilterRepresentation()) {
+ return;
+ }
Set<View> views = mViews.keySet();
for (View view : views) {
if (view instanceof FilterIconButton) {