Skip to content

Commit

Permalink
Merge pull request #1165 from mcneel/1.23
Browse files Browse the repository at this point in the history
Back to the original code.
  • Loading branch information
kike-garbo authored Aug 16, 2024
2 parents 7d8b9e9 + 7f05ae1 commit 3bc38d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/RhinoInside.Revit.External/ActivationGate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,11 @@ protected override int DispatchHook(int nCode, IntPtr wParam, IntPtr lParam)
{
if (!HostMainWindow.Enabled && !IsExternalWindow(window, out var _))
{
foreach (var gate in gates)
{
try { gate.Value.Window.BringToFront(); }
catch { }
}
//foreach (var gate in gates)
//{
// try { gate.Value.Window.BringToFront(); }
// catch { }
//}

windowToActivate = window; // Will be activated when our message loop is Idle.
return 1; // Prevents activation now.
Expand Down

0 comments on commit 3bc38d7

Please sign in to comment.