Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c72bc32 authored by Marten Gajda's avatar Marten Gajda
Browse files

Don't select task when the editor was closed without saving.

parent fa49eb31
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -483,6 +483,10 @@ public class TaskListActivity extends ActionBarActivity implements TaskListFragm

	@Override
	public void onActivityResult(int requestCode, int resultCode, Intent intent)
	{
		if (resultCode == RESULT_OK)
		{
			if (intent != null)
			{
				Uri taskUri = intent.getData();
				if (taskUri != null)
@@ -491,6 +495,8 @@ public class TaskListActivity extends ActionBarActivity implements TaskListFragm
					onItemSelected(taskUri, false, -1);
				}
			}
		}
	}


	@Override