browser: do not go to parent directory on MPD_SERVER_ERROR_NO_EXIST
This commit is contained in:
@@ -176,11 +176,6 @@ void Status::handleServerError(MPD::ServerError &e)
|
|||||||
handleServerError(e_prim);
|
handleServerError(e_prim);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (e.code() == MPD_SERVER_ERROR_NO_EXIST && myScreen == myBrowser)
|
|
||||||
{
|
|
||||||
myBrowser->getDirectory(getParentDirectory(myBrowser->currentDirectory()));
|
|
||||||
myBrowser->refresh();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user