From d9ec25046078d92cbf7d7a3587529978baf4c27d Mon Sep 17 00:00:00 2001 From: Phyxion <7643972+Phyxion@users.noreply.github.com> Date: Mon, 25 May 2020 12:10:35 +0200 Subject: [PATCH] Use new Computer.Reset method. --- LibreHardwareMonitor/UI/MainForm.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LibreHardwareMonitor/UI/MainForm.cs b/LibreHardwareMonitor/UI/MainForm.cs index 745c00c..1c02d5e 100644 --- a/LibreHardwareMonitor/UI/MainForm.cs +++ b/LibreHardwareMonitor/UI/MainForm.cs @@ -1017,8 +1017,7 @@ namespace LibreHardwareMonitor.UI // disable the fallback MainIcon during reset, otherwise icon visibility // might be lost _systemTray.IsMainIconEnabled = false; - _computer.Close(); - _computer.Open(); + _computer.Reset(); // restore the MainIcon setting _systemTray.IsMainIconEnabled = _minimizeToTray.Value; }