Fixed Issue 60.

This commit is contained in:
Michael Möller
2010-05-18 19:12:13 +00:00
parent 43c88946c4
commit 4c3fdb2c82
+5 -1
View File
@@ -66,8 +66,12 @@ namespace OpenHardwareMonitor.GUI {
startup = task != null;
} catch (IOException) {
startup = false;
} catch (UnauthorizedAccessException) {
scheduler = null;
}
} else {
}
if (scheduler == null) {
RegistryKey key = Registry.CurrentUser.OpenSubKey(REGISTRY_RUN);
startup = false;
if (key != null) {