From 7c71df8dc7e64a27a310d7929e9c6b0db831cec0 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Thu, 6 Nov 2014 21:22:22 +0100 Subject: [PATCH] browser: do not go to parent directory on MPD_SERVER_ERROR_NO_EXIST --- src/status.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/status.cpp b/src/status.cpp index 33217ce4..3e7c17a7 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -176,11 +176,6 @@ void Status::handleServerError(MPD::ServerError &e) handleServerError(e_prim); } } - else if (e.code() == MPD_SERVER_ERROR_NO_EXIST && myScreen == myBrowser) - { - myBrowser->getDirectory(getParentDirectory(myBrowser->currentDirectory())); - myBrowser->refresh(); - } } /*************************************************************************/