gray out restore snapshot menu until a snapshot is captured

This commit is contained in:
Kang Yu 2021-10-08 18:35:13 -07:00
parent b1cd8d8775
commit dfb5f87067
4 changed files with 10 additions and 0 deletions

View file

@ -292,6 +292,8 @@ namespace Ninjacrab.PersistentWindows.SystrayShell
if (prompt)
systrayForm.notifyIconMain.ShowBalloonTip(5000, $"snapshot '{c}' is captured", $"click icon then immediately press key '{c}' to restore the snapshot", ToolTipIcon.Info);
}
systrayForm.EnableSnapshotRestore();
}
static public void ChangeZorderMethod()