fix bug waitAnimation

This commit is contained in:
2026-01-23 16:43:01 +03:00
parent 52882667e4
commit f328a4a692
3 changed files with 6 additions and 6 deletions

View File

@@ -86,6 +86,8 @@ void ViewerInstructors::slot_checkTryBlockResult(bool result, QString type)
{ {
if(type == "EditorInstructors") if(type == "EditorInstructors")
{ {
emit signal_needShowWait(false);
if(result) if(result)
{//Одобрено {//Одобрено
dialog_EditorInstructors(); dialog_EditorInstructors();
@@ -161,8 +163,6 @@ void ViewerInstructors::updateButtons()
void ViewerInstructors::dialog_EditorInstructors() void ViewerInstructors::dialog_EditorInstructors()
{ {
emit signal_needShowWait(false);
dlgRedactor = new DialogRedactorInstructors(connectorToServer, adminMode, this); dlgRedactor = new DialogRedactorInstructors(connectorToServer, adminMode, this);
dlgRedactor->exec(); dlgRedactor->exec();

View File

@@ -263,8 +263,6 @@ void DialogSettings::on_DialogSettings_accepted()
void DialogSettings::dialog_VersionControl() void DialogSettings::dialog_VersionControl()
{ {
waitAnimationWidget->hideWithStop();
dlgVersionControl = new DialogVersionControl(connectorToServer, this); dlgVersionControl = new DialogVersionControl(connectorToServer, this);
dlgVersionControl->initialize(connectorToServer->getLoginName()); dlgVersionControl->initialize(connectorToServer->getLoginName());
dlgVersionControl->exec(); dlgVersionControl->exec();
@@ -284,6 +282,8 @@ void DialogSettings::slot_checkTryBlockResult(bool result, QString type)
{ {
if(type == "VersionControl") if(type == "VersionControl")
{ {
waitAnimationWidget->hideWithStop();
if(result) if(result)
{//Одобрено {//Одобрено
dialog_VersionControl(); dialog_VersionControl();

View File

@@ -120,6 +120,8 @@ void ViewerTrainees::slot_checkTryBlockResult(bool result, QString type)
{ {
if(type == "EditorTrainees") if(type == "EditorTrainees")
{ {
emit signal_needShowWait(false);
if(result) if(result)
{//Одобрено {//Одобрено
dialog_EditorTrainees(); dialog_EditorTrainees();
@@ -254,8 +256,6 @@ void ViewerTrainees::updateButtons()
void ViewerTrainees::dialog_EditorTrainees() void ViewerTrainees::dialog_EditorTrainees()
{ {
emit signal_needShowWait(false);
dlgRedactor = new DialogRedactorTrainees(connectorToServer, adminMode, this); dlgRedactor = new DialogRedactorTrainees(connectorToServer, adminMode, this);
dlgRedactor->exec(); dlgRedactor->exec();