mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed focus bug when command bar is focused and the user switches
between tabs.
This commit is contained in:
parent
324136882e
commit
c796b19e72
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user