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")
{
emit signal_needShowWait(false);
if(result)
{//Одобрено
dialog_EditorInstructors();
@@ -161,8 +163,6 @@ void ViewerInstructors::updateButtons()
void ViewerInstructors::dialog_EditorInstructors()
{
emit signal_needShowWait(false);
dlgRedactor = new DialogRedactorInstructors(connectorToServer, adminMode, this);
dlgRedactor->exec();

View File

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

View File

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