fix: blocked behaviour

This commit is contained in:
semenov
2025-12-17 16:33:12 +03:00
parent 4e15a439ee
commit 75a93e346b
4 changed files with 8923 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<AuthData Login="O2" Password="934b535800b1cba8f96a5d72f72f1611" InstructorName="" ClientName="" AccessType=""/> <AuthData Login="I3" Password="2be9bd7a3434f7038ca27d1918de58bd" InstructorName="Моськин В.М." ClientName="Моськин В.М." AccessType="instructor"/>

8916
StaticData/serverHash.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ClientAutorization Login="O2" Password="934b535800b1cba8f96a5d72f72f1611"/> <ClientNotify Code="CHECKVERSIONLIST"/>

View File

@@ -170,6 +170,11 @@ void CoreManager::callUpdateList()
void CoreManager::showError(ErrorsEnum errorEnum) void CoreManager::showError(ErrorsEnum errorEnum)
{ {
widgetManager->getMainWindow()->showError(errorEnum); widgetManager->getMainWindow()->showError(errorEnum);
if (errorEnum == ErrorsEnum::BLOCKED)
{
widgetManager->getEntryWidget()->showLoginWidget(true);
}
} }