mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
fix bug waitAnimation
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user