Browse Source

Fixed issue 385, not showing the download location in the dialog when changing this.

pull/11/head
Eric Kok 13 years ago
parent
commit
cf1ca96208
  1. 1
      android/src/org/transdroid/gui/DetailsFragment.java

1
android/src/org/transdroid/gui/DetailsFragment.java

@ -465,6 +465,7 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
final View setLocationLayout = LayoutInflater.from(getActivity()).inflate( final View setLocationLayout = LayoutInflater.from(getActivity()).inflate(
R.layout.dialog_set_download_location, null); R.layout.dialog_set_download_location, null);
final EditText newLocation = (EditText) setLocationLayout.findViewById(R.id.download_location); final EditText newLocation = (EditText) setLocationLayout.findViewById(R.id.download_location);
newLocation.setText(torrent.getLocationDir());
AlertDialog.Builder setLocationDialog = new AlertDialog.Builder(getActivity()); AlertDialog.Builder setLocationDialog = new AlertDialog.Builder(getActivity());
setLocationDialog.setTitle(R.string.menu_setdownloadlocation); setLocationDialog.setTitle(R.string.menu_setdownloadlocation);
setLocationDialog.setView(setLocationLayout); setLocationDialog.setView(setLocationLayout);

Loading…
Cancel
Save