Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2019-10-29 17:06:06 +0300
committerGitHub <noreply@github.com>2019-10-29 17:06:06 +0300
commit3eb9d0489f78cc0b73f9de2276789a323920a30d (patch)
treea0387685265fd93ae03c4c5840818e123fac683e /main
parentb6846ce602b63dd235fc76d21730bedffbd31f86 (diff)
parent9a3b2d39add7d0ec0a5ab8d264439160a59fb27a (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.cs2
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 ();