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)
|
||||
{
|
||||
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!"));
|
||||
}
|
||||
}
|
||||
this->state_Server = stateServer;
|
||||
this->state_BlockAutorization = stateBlockAutorization;
|
||||
updateStateOnlyServer();
|
||||
else
|
||||
{
|
||||
this->state_Server = stateServer;
|
||||
this->state_BlockAutorization = stateBlockAutorization;
|
||||
updateStateOnlyServer();
|
||||
}
|
||||
}
|
||||
|
||||
void ServerLMSWidget::slot_StateVersionMaterials(QString versionStr)
|
||||
|
||||
Reference in New Issue
Block a user