mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-08-20 08:59:21 +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);
|
ShowCurrentProjectItem(false);
|
||||||
ShowProjectItemInProcess = 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 { }
|
catch { }
|
||||||
|
Loading…
Reference in New Issue
Block a user