When selecting "Start Bitcoin Core on system login" in the settings, it will unselect itself after closing the dialog.

Tested with current master (e8ffec6) on Windows 7.

{
public:
    CInit()
    {
        
        ppmutexOpenSSL.reset(new CCriticalSection[CRYPTO_num_locks()]);
        CRYPTO_set_locking_callback(locking_callback);
        
        
        
        
        
        OPENSSL_no_config();
#ifdef WIN32
        
        RAND_screen();
#endif
        
        RandAddSeed();
    }
    ~CInit()