diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 6e6f06fb..861f4589 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -18,8 +18,8 @@ --> diff --git a/android/res/values/changelog.xml b/android/res/values/changelog.xml index 71d28727..923175ba 100644 --- a/android/res/values/changelog.xml +++ b/android/res/values/changelog.xml @@ -1,6 +1,14 @@ +Transdroid 1.1.10\n +- Updated translations (thanks to all translators)\n +- Special thanks Tom Briden for the following contributions:\n +- Name filtering of the torrents lists\n +- rTorrent viewing of labels (with ruTorrent\'s plugin)\n +- rTorrent delete data when removing torrent\n +- rTorrent correct \'added on\' time\n +\n Transdroid 1.1.9\n - Added Bitsnoop to search sites\n \n diff --git a/android/src/org/transdroid/gui/TorrentsFragment.java b/android/src/org/transdroid/gui/TorrentsFragment.java index 423ef092..33235738 100644 --- a/android/src/org/transdroid/gui/TorrentsFragment.java +++ b/android/src/org/transdroid/gui/TorrentsFragment.java @@ -680,7 +680,9 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou return true; } - // Get torrent item + // Get torrent item (if it still exists) + if (getTorrentListAdapter().getCount() <= info.id) + return true; Torrent selection = (Torrent) getTorrentListAdapter().getItem((int)info.id); switch (item.getItemId()) { @@ -1102,6 +1104,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou // Build a dialog that asks for a new download location for the torrent final View setLocationLayout = getActivity().getLayoutInflater().inflate(R.layout.dialog_set_download_location, null); final EditText newLocation = (EditText) setLocationLayout.findViewById(R.id.download_location); + newLocation.setText(selectedTorrent.getLocationDir()); AlertDialog.Builder setLocationDialog = new AlertDialog.Builder(getActivity()); setLocationDialog.setTitle(R.string.menu_setdownloadlocation); setLocationDialog.setView(setLocationLayout);