diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/history/HistoryManager.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/history/HistoryManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/history/HistoryManager.java b/src/com/android/gallery3d/filtershow/history/HistoryManager.java index 569b299cc..9d5065a28 100644 --- a/src/com/android/gallery3d/filtershow/history/HistoryManager.java +++ b/src/com/android/gallery3d/filtershow/history/HistoryManager.java @@ -68,7 +68,7 @@ public class HistoryManager { } public boolean canUndo() { - if (mCurrentPresetPosition == getCount() - 1) { + if (mCurrentPresetPosition >= getCount() - 1) { return false; } return true; |