Don't finish the whole Repositores activity when cancelling "New Repository"

This commit is contained in:
Daniel Martí 2014-03-10 18:36:35 +01:00
parent 54d7849191
commit 49a3c3370f

View File

@ -408,9 +408,7 @@ public class RepoListFragment extends ListFragment
new DialogInterface.OnClickListener() { new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
getActivity().setResult(Activity.RESULT_CANCELED); dialog.dismiss();
getActivity().finish();
return;
} }
}); });
alrt.show(); alrt.show();