Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Replicate changes made for multi-window support #167

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

dr1rrb
Copy link
Member

@dr1rrb dr1rrb commented Feb 6, 2024

feat: Replicate changes made for multi-window support

@dr1rrb dr1rrb enabled auto-merge February 6, 2024 21:01
@dr1rrb dr1rrb merged commit 0d96706 into main Feb 6, 2024
6 checks passed
@dr1rrb dr1rrb deleted the dev/dr/unoSupport branch February 6, 2024 21:19
@@ -100,7 +100,7 @@ public UnitTestsControl()
GetContent: () => unitTestContentRoot.Content as UIElement,
SetContent: elt => unitTestContentRoot.Content = elt
);
UnitTestsUIContentHelper.CurrentTestWindow = XamlWindow.Current;
UnitTestsUIContentHelper.CurrentTestWindow ??= XamlWindow.Current;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dr1rrb This doesn't look right.

CurrentTestWindow getter will throw if the field is null. So, attempting to read it here will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants