Fix showing Content Search window to properly use context window
This commit is contained in:
@@ -92,7 +92,7 @@ namespace FlaxEditor.Modules
|
||||
DockWindow window = null;
|
||||
foreach (var editorWindow in Editor.Windows.Windows)
|
||||
{
|
||||
if (editorWindow.Visible && editorWindow.ContainsFocus)
|
||||
if (editorWindow.Visible && editorWindow.ContainsFocus && editorWindow.Parent != null)
|
||||
{
|
||||
window = editorWindow;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user