slot_StateServer

This commit is contained in:
2026-02-09 11:45:04 +03:00
parent d27ab62114
commit 0d287113e1

View File

@@ -302,6 +302,10 @@ void ServerLMSWidget::slot_StateServer(EStateServer stateServer, EStateBlockAuto
{
if(this->state_Server != stateServer)
{
this->state_Server = stateServer;
this->state_BlockAutorization = stateBlockAutorization;
updateStateOnlyServer();
if(stateServer == EStateServer::started)
{
ui->btnStartServer->setEnabled(false);
@@ -315,9 +319,12 @@ void ServerLMSWidget::slot_StateServer(EStateServer stateServer, EStateBlockAuto
emit signal_Tray_ShowMessage(tr("Server is stoped!"));
}
}
else
{
this->state_Server = stateServer;
this->state_BlockAutorization = stateBlockAutorization;
updateStateOnlyServer();
}
}
void ServerLMSWidget::slot_StateVersionMaterials(QString versionStr)