Fixed focus bug when command bar is focused and the user switches

between tabs.
This commit is contained in:
casey langen 2019-10-19 13:45:04 -07:00
parent 324136882e
commit c796b19e72

View File

@ -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;
}