diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2019-10-29 17:06:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-29 17:06:06 +0300 |
commit | 3eb9d0489f78cc0b73f9de2276789a323920a30d (patch) | |
tree | a0387685265fd93ae03c4c5840818e123fac683e /main | |
parent | b6846ce602b63dd235fc76d21730bedffbd31f86 (diff) | |
parent | 9a3b2d39add7d0ec0a5ab8d264439160a59fb27a (diff) |
Merge pull request #9115 from mono/jstedfast-debugger-valueview-updatecontents-crash-fix
[Debugger] Don't dereference statusIcon.Image for its size, just use …
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacDebuggerObjectValueView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacDebuggerObjectValueView.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacDebuggerObjectValueView.cs index d5e86cf059..db5ca167c8 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacDebuggerObjectValueView.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacDebuggerObjectValueView.cs @@ -194,7 +194,7 @@ namespace MonoDevelop.Debugger constraints.Add (statusIcon.HeightAnchor.ConstraintEqualToConstant (ImageSize)); views.Add (statusIcon); - OptimalWidth += statusIcon.Image.Size.Width; + OptimalWidth += ImageSize; OptimalWidth += RowCellSpacing; } else if (statusIconVisible) { statusIcon.RemoveFromSuperview (); |