aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index a38f9fcd..5093934b 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -475,11 +475,11 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
@Override
public boolean onOptionsItemSelected(MenuItem menuItem) {
- if(super.onOptionsItemSelected(menuItem)) {
+ if(menuItemSelected(menuItem.getItemId(), null)) {
return true;
}
-
- return menuItemSelected(menuItem.getItemId(), null);
+
+ return super.onOptionsItemSelected(menuItem);
}
@Override
@@ -606,9 +606,6 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
startTimer();
}
return true;
- case R.id.menu_exit:
- exit();
- return true;
case R.id.menu_add_playlist:
songs = new ArrayList<MusicDirectory.Entry>(1);
songs.add(song.getSong());