Skip to content

Commit 0a0c95c

Browse files
committed
1.9.15
Fixed tray menu
1 parent 1122d5f commit 0a0c95c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/AutoActions/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
5353
// indem Sie "*" wie unten gezeigt eingeben:
5454
// [assembly: AssemblyVersion("1.0.*")]
55-
[assembly: AssemblyVersion("1.9.14.0")]
56-
[assembly: AssemblyFileVersion("1.9.14.0")]
55+
[assembly: AssemblyVersion("1.9.15.0")]
56+
[assembly: AssemblyFileVersion("1.9.15.0")]

Source/AutoActions/TrayMenuHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ private void UpdatApplicationItems()
161161
foreach (var assignment in Globals.Instance.Settings.ApplicationProfileAssignments)
162162
{
163163
MenuItem item = new MenuItem();
164-
BitmapImage bitmapIamge = (BitmapImage)converter.Convert(assignment.Application.Icon, typeof(BitmapImage), null, System.Globalization.CultureInfo.CurrentUICulture);
164+
ImageSource imageSource = (ImageSource)converter.Convert(assignment.Application.Icon, typeof(ImageSource), null, System.Globalization.CultureInfo.CurrentUICulture);
165165
item.Icon = new System.Windows.Controls.Image
166166
{
167-
Source = bitmapIamge
167+
Source = imageSource
168168
};
169169
item.Header = assignment.Application.DisplayName;
170170
item.Click += (o, e) => assignment.Application.StartApplication();

0 commit comments

Comments
 (0)