From cf1ca962085573b9fbce94ccc6981b04b67c3fcf Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Tue, 21 Feb 2012 16:09:32 +0100 Subject: [PATCH] Fixed issue 385, not showing the download location in the dialog when changing this. --- android/src/org/transdroid/gui/DetailsFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/org/transdroid/gui/DetailsFragment.java b/android/src/org/transdroid/gui/DetailsFragment.java index 2e150034..c3e38bb7 100644 --- a/android/src/org/transdroid/gui/DetailsFragment.java +++ b/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( R.layout.dialog_set_download_location, null); final EditText newLocation = (EditText) setLocationLayout.findViewById(R.id.download_location); + newLocation.setText(torrent.getLocationDir()); AlertDialog.Builder setLocationDialog = new AlertDialog.Builder(getActivity()); setLocationDialog.setTitle(R.string.menu_setdownloadlocation); setLocationDialog.setView(setLocationLayout);