Always focus tab on click

This commit is contained in:
stefnotch
2021-02-20 22:07:15 +01:00
parent e176ea749c
commit 8fe656b88f

View File

@@ -290,6 +290,10 @@ namespace FlaxEditor.GUI.Docking
}
OnSelectedTabChanged();
}
else if (autoFocus && _selectedTab != null && !_selectedTab.ContainsFocus)
{
_selectedTab.Focus();
}
}
/// <summary>