browser: do not go to parent directory on MPD_SERVER_ERROR_NO_EXIST

master
Andrzej Rybczak 12 years ago
parent bf33a45935
commit 7c71df8dc7
  1. 5
      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();
}
}
/*************************************************************************/

Loading…
Cancel
Save