Skip to content

Commit

Permalink
1.9.15
Browse files Browse the repository at this point in the history
Fixed tray menu
  • Loading branch information
Codectory committed Jan 19, 2022
1 parent 1122d5f commit 0a0c95c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/AutoActions/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.9.14.0")]
[assembly: AssemblyFileVersion("1.9.14.0")]
[assembly: AssemblyVersion("1.9.15.0")]
[assembly: AssemblyFileVersion("1.9.15.0")]
4 changes: 2 additions & 2 deletions Source/AutoActions/TrayMenuHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ private void UpdatApplicationItems()
foreach (var assignment in Globals.Instance.Settings.ApplicationProfileAssignments)
{
MenuItem item = new MenuItem();
BitmapImage bitmapIamge = (BitmapImage)converter.Convert(assignment.Application.Icon, typeof(BitmapImage), null, System.Globalization.CultureInfo.CurrentUICulture);
ImageSource imageSource = (ImageSource)converter.Convert(assignment.Application.Icon, typeof(ImageSource), null, System.Globalization.CultureInfo.CurrentUICulture);
item.Icon = new System.Windows.Controls.Image
{
Source = bitmapIamge
Source = imageSource
};
item.Header = assignment.Application.DisplayName;
item.Click += (o, e) => assignment.Application.StartApplication();
Expand Down

0 comments on commit 0a0c95c

Please sign in to comment.