#5657 Don't clear edition when appconfig contains an invalid serial key
This commit is contained in:
parent
e48be9099d
commit
e5aae66ff7
|
@ -31,7 +31,6 @@ LicenseManager::LicenseManager(AppConfig* appConfig) :
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
/* Remove garbage serial keys from the registry */
|
/* Remove garbage serial keys from the registry */
|
||||||
m_AppConfig->setSerialKey("");
|
m_AppConfig->setSerialKey("");
|
||||||
m_AppConfig->setEdition(kUnregistered);
|
|
||||||
m_AppConfig->saveSettings();
|
m_AppConfig->saveSettings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue