Skip to content

Commit

Permalink
Merge pull request #7302 from Mikolaytis/FixCopyPasteMistake
Browse files Browse the repository at this point in the history
[MacOS] fix quit menu item copy paste mistake
  • Loading branch information
danwalmsley authored Jan 3, 2022
2 parents a175fbb + 32bf616 commit 9a2b2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Native/AvaloniaNativeMenuExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private NativeMenu CreateDefaultAppMenu()
};
quitItem.Click += (sender, args) =>
{
_applicationCommands.ShowAll();
(Application.Current.ApplicationLifetime as IControlledApplicationLifetime)?.Shutdown();
};
result.Add(quitItem);
}
Expand Down

0 comments on commit 9a2b2b9

Please sign in to comment.