Commit 81f509f7 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix a crash in the VideoList fragment

parent e81fce72
......@@ -174,7 +174,7 @@ public class VideoListActivity extends SherlockListFragment implements ISortable
break;
case MENU_DELETE:
final int positionDelete = info.position;
AlertDialog alertDialog = new AlertDialog.Builder(getActivity().getParent())
AlertDialog alertDialog = new AlertDialog.Builder(getActivity())
.setTitle(R.string.confirm_delete)
.setMessage(R.string.validation)
.setIcon(android.R.drawable.ic_dialog_alert)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment