From c796b19e724facd21cffe4dc7b89c772f0056e04 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 19 Oct 2019 13:45:04 -0700 Subject: [PATCH] Fixed focus bug when command bar is focused and the user switches between tabs. --- src/musikcube/cursespp/LayoutBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/musikcube/cursespp/LayoutBase.cpp b/src/musikcube/cursespp/LayoutBase.cpp index ad9175157..60e55f205 100755 --- a/src/musikcube/cursespp/LayoutBase.cpp +++ b/src/musikcube/cursespp/LayoutBase.cpp @@ -257,6 +257,7 @@ IWindowPtr LayoutBase::GetWindowAt(size_t position) { bool LayoutBase::SetFocus(IWindowPtr focus) { if (!focus) { + this->focused = NO_FOCUS; this->EnsureValidFocus(); return true; }