diff --git a/programs/us_esigner_gmp/us_esigner_gmp.cpp b/programs/us_esigner_gmp/us_esigner_gmp.cpp index a0bdb3e6a..48048302a 100644 --- a/programs/us_esigner_gmp/us_esigner_gmp.cpp +++ b/programs/us_esigner_gmp/us_esigner_gmp.cpp @@ -1257,7 +1257,7 @@ void US_eSignaturesGMP::get_gappr_data( QListWidgetItem* item ) void US_eSignaturesGMP::set_greviewer() { - + qDebug() << "Set gRev: INIT -- "; QString entry = lw_inv_list->currentItem()->text(); qDebug() << "Set gRev: -- " << entry; @@ -1299,8 +1299,10 @@ void US_eSignaturesGMP::set_greviewer() init_gapprs(); if ( !assign_revs_sep ) - setUnset_AddRemove_RevAppr_bttn( "Reviewer" ); - + setUnset_AddRemove_RevAppr_bttn( "Reviewer" ); + + //Disable all action buttons: + disableSetUnsetGButtons(); } void US_eSignaturesGMP::unset_greviewer() @@ -1352,6 +1354,9 @@ void US_eSignaturesGMP::unset_greviewer() for(int i=0; i US_eSignaturesGMP::read_autoflowGMPReportEsign_record( Q return eSign_record; } +//Disable all action buttons: +void US_eSignaturesGMP::disableSetUnsetGButtons( void ) +{ + pb_set_global_rev -> setEnabled( false ); + pb_set_global_appr -> setEnabled( false ); + pb_unset_global_rev -> setEnabled( false ); + pb_unset_global_appr -> setEnabled( false ); +} + //Set/Unset Add/Remove Rev/Appr bttn. void US_eSignaturesGMP::setUnset_AddRemove_RevAppr_bttn( QString p_type ) { diff --git a/programs/us_esigner_gmp/us_esigner_gmp.h b/programs/us_esigner_gmp/us_esigner_gmp.h index 8d090b246..d9e244e13 100644 --- a/programs/us_esigner_gmp/us_esigner_gmp.h +++ b/programs/us_esigner_gmp/us_esigner_gmp.h @@ -178,6 +178,7 @@ class US_eSignaturesGMP : public US_Widgets void addApprtoList( void ); void removeApprfromList( void ); bool is_eSignProcessBegan( void ); + void disableSetUnsetGButtons( void ); void setUnsetPb_operRev( void ); void setUnset_AddRemove_RevAppr_bttn( QString ); QString compose_updated_admin_logJson( int, QString, QString );