From 6dd74f5762c15df5b315882761dfc9196fb6ffa8 Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Wed, 27 Oct 2021 09:05:23 +0100 Subject: [PATCH] [OOBE] Link to VCM settings page (#14006) --- .../OOBE/Views/OobeVideoConference.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeVideoConference.xaml.cs b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeVideoConference.xaml.cs index 056eb1035e29..d927ec223927 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeVideoConference.xaml.cs +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeVideoConference.xaml.cs @@ -5,6 +5,7 @@ using Microsoft.PowerToys.Settings.UI.Library; using Microsoft.PowerToys.Settings.UI.OOBE.Enums; using Microsoft.PowerToys.Settings.UI.OOBE.ViewModel; +using Microsoft.PowerToys.Settings.UI.Views; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; @@ -26,6 +27,11 @@ public OobeVideoConference() private void SettingsLaunchButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { + if (OobeShellPage.OpenMainWindowCallback != null) + { + OobeShellPage.OpenMainWindowCallback(typeof(VideoConferencePage)); + } + ViewModel.LogOpeningSettingsEvent(); }