From 1950a6db3c7dca43c9f66a31c3bec2aba6b184b0 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 29 Aug 2011 12:38:25 -0700 Subject: [PATCH] Fixed a bug that caused task edit activity to quit on rotate --- astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java b/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java index 114427cc2..a4156b4cc 100755 --- a/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java @@ -501,7 +501,8 @@ public final class TaskEditActivity extends TabActivity { if(!onPause && peopleControlSet != null && !peopleControlSet.saveSharingSettings(processedToast)) return; - finish(); + if (!onPause) // Saving during on pause could cause a double finish + finish(); } @Override