#347, remember the choice of disable webpage commander upon PW restart

This commit is contained in:
Kang Yu 2024-08-16 22:45:44 -07:00
parent 7bd8511bb9
commit 697e79b1ba
2 changed files with 20 additions and 1 deletions

View file

@ -380,7 +380,8 @@ namespace PersistentWindows.SystrayShell
if (ignore_process.Length > 0)
pwp.SetIgnoreProcess(ignore_process);
if (hotkey_window)
string disable_webpage_commander= Path.Combine(Program.AppdataFolder, "disable_webpage_commander");
if (!File.Exists(disable_webpage_commander) && hotkey_window)
HotKeyForm.Start(hotkey);
if (!pwp.Start(auto_restore_from_db_at_startup))