diff options
author | iain holmes <iain@xamarin.com> | 2018-02-06 16:45:37 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevoku@microsoft.com> | 2018-02-06 17:16:43 +0300 |
commit | d87fefb0dff0d96bb3d7e59065f8b92ecc12138e (patch) | |
tree | 420e710ed01a65371145062965ec32629aa782fc | |
parent | 105d6f1ec4d3ba8746c1ee599de26fdea26cd8a9 (diff) |
[IDE] Errors pad autohides after a few moments
The focus chain for the error pad is set to only let the Build Output be focused, but if Build Output is hidden, then nothing can be focused and so the autohide
closes the pad.
Add the scrolled window as a secondary focus widget as a back up if the Build
Output is hidden.
Fixes VSTS #561864
(cherry picked from commit 1d6a8648da9661f5d16934a24a2eb1faa5323b83)
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs index 2cb207fbad..2727804610 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs @@ -291,7 +291,7 @@ namespace MonoDevelop.Ide.Gui.Pads AddTask (t); } - control.FocusChain = new Gtk.Widget [] { outputView }; + control.FocusChain = new Gtk.Widget [] { outputView, sw }; } public override void Dispose ()
|