diff options
author | Javier Suárez Ruiz <javiersuarezruiz@hotmail.com> | 2019-07-08 10:35:03 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-07-08 15:09:28 +0300 |
commit | 29bb8d0140aff1df6add6f50fd5b05a4974f7e77 (patch) | |
tree | ba1a9321fe8e700e23e8a8837932afd645247d3c | |
parent | 4634324154d13466ef60145f25a37c8d28f96ed9 (diff) |
Fix VSTS #941754 - [Version Control] Exception opening the StatusView
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components/VPanedThin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/VPanedThin.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/VPanedThin.cs index 76d7d0f919..b55006d6d5 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/VPanedThin.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/VPanedThin.cs @@ -36,7 +36,8 @@ namespace MonoDevelop.Components { GtkWorkarounds.FixContainerLeak (this); handle = new CustomGtkPanedHandle (this); - handle.Parent = this; + if(handle.Parent == null) + handle.Parent = this; } public int GrabAreaSize { |