-
-
Save rolfbjarne/f0d690b0e68c96039ddd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/XamarinProfiler.Mac/TraceDocument.cs b/src/XamarinProfiler.Mac/TraceDocument.cs | |
index 43eba2f..f7182e7 100644 | |
--- a/src/XamarinProfiler.Mac/TraceDocument.cs | |
+++ b/src/XamarinProfiler.Mac/TraceDocument.cs | |
@@ -221,6 +221,7 @@ namespace XamarinProfiler.Mac | |
windowController.Window.DidBecomeKey += OnWindowReady; | |
} | |
+ static HashSet<NSObject> save = new HashSet<NSObject>(); | |
public override void AwakeFromNib () | |
{ | |
base.AwakeFromNib (); | |
@@ -262,6 +263,7 @@ namespace XamarinProfiler.Mac | |
}, | |
(splitView, indexer) => true | |
); | |
+ save.Add (MainSplitView.Delegate); | |
foreach (var subview in InstrumentSplitView.Subviews) { | |
subview.WantsLayer = true; | |
@@ -298,6 +300,7 @@ namespace XamarinProfiler.Mac | |
return true; | |
} | |
); | |
+ save.Add (InstrumentSplitView.Delegate); | |
ProcessSelectorButton.ProcessChanged += (sender, e) => { | |
ProcessSelectorButton.DisplayDeviceName = Environment.MachineName; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment