Fixed ESC behavior in Library mode to only show the play queue when in

browse mode -- otherwise show browse.
This commit is contained in:
casey 2016-07-11 21:39:27 -07:00
parent 279b7996e5
commit d25f2a1633

View File

@ -206,8 +206,7 @@ IWindowPtr LibraryLayout::GetFocus() {
bool LibraryLayout::KeyPress(const std::string& key) {
if (key == "^[") { /* switches between browse/now playing */
if (this->visibleLayout == this->nowPlayingLayout ||
this->visibleLayout == this->searchLayout) {
if (this->visibleLayout != this->browseLayout) {
this->ShowBrowse();
}
else {