Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Commit 3f9eeef

Browse files
committed
fix(snapshot): fix restore function never called
1 parent a2f5e15 commit 3f9eeef

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

WindowsLayoutSnapshot/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
// You can specify all the values or you can default the Build and Revision Numbers
3434
// by using the '*' as shown below:
3535
// [assembly: AssemblyVersion("1.0.*")]
36-
[assembly: AssemblyVersion("1.3.1.0")]
37-
[assembly: AssemblyFileVersion("1.3.1.0")]
36+
[assembly: AssemblyVersion("1.0.1.0")]
37+
[assembly: AssemblyFileVersion("1.0.1.0")]
3838
[assembly: NeutralResourcesLanguage("en")]

WindowsLayoutSnapshot/TrayIconForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ void onMouseDown(object sender, MouseEventArgs e)
240240
}
241241
}
242242
menuItem.MouseDown += onMouseDown;
243+
menuItem.Click += onRestore;
243244
if (snapshot.UserInitiated) {
244245
menuItem.Font = new Font(menuItem.Font, FontStyle.Bold);
245246
}

0 commit comments

Comments
 (0)