mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 17:02:53 +08:00
Attempt to refocus WorldForm when selecting objects with ProjectForm open - ProjectForm is/was stealing focus due to DockPanel issue
This commit is contained in:
parent
67014c4d39
commit
37329a2eaf
@ -7680,6 +7680,10 @@ namespace CodeWalker.Project
|
||||
ShowCurrentProjectItem(false);
|
||||
ShowProjectItemInProcess = false;
|
||||
}
|
||||
if (WorldForm != null)
|
||||
{
|
||||
WorldForm.Focus();//sometimes newly created panel steals focus from the WorldForm, this is a hack to give it back
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
Loading…
Reference in New Issue
Block a user