Fixed, Tag Explorer: in some cases Tag Explorer update logic was switching focus from the Script Editor to the main window.

This commit is contained in:
MaxED 2016-11-28 22:17:42 +00:00 committed by spherallic
parent 5fd95f703d
commit 264ae55a03

View file

@ -659,8 +659,8 @@ namespace CodeImp.DoomBuilder.TagExplorer
//update Export button
bExportToFile.Enabled = (treeView.Nodes != null && treeView.Nodes.Count > 0);
//loose focus
if(focusDisplay) General.Interface.FocusDisplay();
// Loose focus when the main windows is active
if(focusDisplay && Form.ActiveForm == General.Interface) General.Interface.FocusDisplay();
}
//tag/action search