SYNERGY-324 Fixed wrong conditions
This commit is contained in:
parent
8bd61d021c
commit
8deae1005d
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ LicenseManager::setSerialKey(SerialKey serialKey, bool acceptExpired)
|
|||
emit serialKeyChanged(m_serialKey);
|
||||
|
||||
emit showLicenseNotice(getLicenseNotice());
|
||||
if (m_serialKey.isValid()) {
|
||||
if (!m_serialKey.isValid()) {
|
||||
emit InvalidLicense();
|
||||
}
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ LicenseManager::refresh()
|
|||
m_AppConfig->clearSerialKey();
|
||||
}
|
||||
}
|
||||
if (m_serialKey.isValid()) {
|
||||
if (!m_serialKey.isValid()) {
|
||||
emit InvalidLicense();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue