Add missing control reference clear
This commit is contained in:
@@ -224,8 +224,12 @@ namespace FlaxEditor.GUI.ContextMenu
|
||||
}
|
||||
|
||||
// Return focus
|
||||
_previouslyFocused?.RootWindow?.Focus();
|
||||
_previouslyFocused?.Focus();
|
||||
if (_previouslyFocused != null)
|
||||
{
|
||||
_previouslyFocused.RootWindow?.Focus();
|
||||
_previouslyFocused.Focus();
|
||||
_previouslyFocused = null;
|
||||
}
|
||||
|
||||
// Hide
|
||||
Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user