summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/FilterShowActivity.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-03-06 12:26:37 -0800
committerJohn Hoford <hoford@google.com>2013-03-06 12:26:37 -0800
commit8c500a4700889c62d5e9e1d457d73e3ea9ac3f59 (patch)
tree5c72bb5699eab2bb6096820a45ecf4805c06a147 /src/com/android/gallery3d/filtershow/FilterShowActivity.java
parent6aa73e7615a165c185778c238a7d6c73b6b56eff (diff)
downloadandroid_packages_apps_Snap-8c500a4700889c62d5e9e1d457d73e3ea9ac3f59.tar.gz
android_packages_apps_Snap-8c500a4700889c62d5e9e1d457d73e3ea9ac3f59.tar.bz2
android_packages_apps_Snap-8c500a4700889c62d5e9e1d457d73e3ea9ac3f59.zip
fix undo bug
bug:8319433 Change-Id: If6bea005677b63267130d446e7b0298d21bbb3be
Diffstat (limited to 'src/com/android/gallery3d/filtershow/FilterShowActivity.java')
-rw-r--r--src/com/android/gallery3d/filtershow/FilterShowActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
index 518563a6d..4230d59e1 100644
--- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java
+++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
@@ -700,6 +700,7 @@ public class FilterShowActivity extends Activity implements OnItemClickListener,
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.undoButton: {
+ mPanelController.resetParameters();
HistoryAdapter adapter = mMasterImage.getHistory();
int position = adapter.undo();
mMasterImage.onHistoryItemClick(position);