Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansjfw committed Jan 29, 2025
1 parent b7aba26 commit 034ebbc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@

namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
{
public sealed partial class OobeZoomIt : Page
public sealed partial class OobeCmdPal : Page
{
public OobePowerToysModule ViewModel { get; set; }

public OobeZoomIt()
public OobeCmdPal()
{
this.InitializeComponent();
ViewModel = new OobePowerToysModule(OobeShellPage.OobeShellHandler.Modules[(int)PowerToysModules.ZoomIt]);
ViewModel = new OobePowerToysModule(OobeShellPage.OobeShellHandler.Modules[(int)PowerToysModules.CmdPal]);
DataContext = ViewModel;
}

private void SettingsLaunchButton_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
{
if (OobeShellPage.OpenMainWindowCallback != null)
{
OobeShellPage.OpenMainWindowCallback(typeof(ZoomItPage));
OobeShellPage.OpenMainWindowCallback(typeof(CmdPalPage));
}

ViewModel.LogOpeningSettingsEvent();
Expand Down

0 comments on commit 034ebbc

Please sign in to comment.