mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
slot_StateServer
This commit is contained in:
@@ -302,6 +302,10 @@ void ServerLMSWidget::slot_StateServer(EStateServer stateServer, EStateBlockAuto
|
|||||||
{
|
{
|
||||||
if(this->state_Server != stateServer)
|
if(this->state_Server != stateServer)
|
||||||
{
|
{
|
||||||
|
this->state_Server = stateServer;
|
||||||
|
this->state_BlockAutorization = stateBlockAutorization;
|
||||||
|
updateStateOnlyServer();
|
||||||
|
|
||||||
if(stateServer == EStateServer::started)
|
if(stateServer == EStateServer::started)
|
||||||
{
|
{
|
||||||
ui->btnStartServer->setEnabled(false);
|
ui->btnStartServer->setEnabled(false);
|
||||||
@@ -315,9 +319,12 @@ void ServerLMSWidget::slot_StateServer(EStateServer stateServer, EStateBlockAuto
|
|||||||
emit signal_Tray_ShowMessage(tr("Server is stoped!"));
|
emit signal_Tray_ShowMessage(tr("Server is stoped!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->state_Server = stateServer;
|
else
|
||||||
this->state_BlockAutorization = stateBlockAutorization;
|
{
|
||||||
updateStateOnlyServer();
|
this->state_Server = stateServer;
|
||||||
|
this->state_BlockAutorization = stateBlockAutorization;
|
||||||
|
updateStateOnlyServer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerLMSWidget::slot_StateVersionMaterials(QString versionStr)
|
void ServerLMSWidget::slot_StateVersionMaterials(QString versionStr)
|
||||||
|
|||||||
Reference in New Issue
Block a user