browser: do not go to parent directory on MPD_SERVER_ERROR_NO_EXIST

This commit is contained in:
Andrzej Rybczak
2014-11-06 21:22:22 +01:00
parent bf33a45935
commit 7c71df8dc7

View File

@@ -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();
}
}
/*************************************************************************/