Fixed Issue 60.
authormoel.mich
Tue, 18 May 2010 19:12:13 +0000
changeset 12041dc766e28b8
parent 119 4ca4621553aa
child 121 f7e492b43690
Fixed Issue 60.
GUI/StartupManager.cs
     1.1 --- a/GUI/StartupManager.cs	Sat May 15 15:52:08 2010 +0000
     1.2 +++ b/GUI/StartupManager.cs	Tue May 18 19:12:13 2010 +0000
     1.3 @@ -66,8 +66,12 @@
     1.4            startup = task != null;
     1.5          } catch (IOException) {
     1.6            startup = false;
     1.7 +        } catch (UnauthorizedAccessException) {
     1.8 +          scheduler = null;
     1.9          }
    1.10 -      } else {
    1.11 +      } 
    1.12 +            
    1.13 +      if (scheduler == null) {
    1.14          RegistryKey key = Registry.CurrentUser.OpenSubKey(REGISTRY_RUN);
    1.15          startup = false;
    1.16          if (key != null) {