Index: sources/view/hd/data/VTreatmentRanges.cpp =================================================================== diff -u -r4fd6a7d7801d91ffbce9e8d4b54900224f6a0fac -r0eb3d05f90d7ed90eadfab6c0c1db76fa2a70fb6 --- sources/view/hd/data/VTreatmentRanges.cpp (.../VTreatmentRanges.cpp) (revision 4fd6a7d7801d91ffbce9e8d4b54900224f6a0fac) +++ sources/view/hd/data/VTreatmentRanges.cpp (.../VTreatmentRanges.cpp) (revision 0eb3d05f90d7ed90eadfab6c0c1db76fa2a70fb6) @@ -30,8 +30,8 @@ // Connection to the GuiController made here // It should be defined in the class which wants to connect to signal. // VTreatmentRanges -> GUIController -> ApplicationController to handle - connect(this , SIGNAL( didTreatmentRangesIncorrect()), - &_GuiController, SLOT(doNotifyTreatmentRangeInvalid())); + connect(this , SIGNAL(didTreatmentRangesDone(bool)), + &_GuiController, SLOT( doTreatmentRangesDone(bool))); } @@ -143,7 +143,5 @@ // FROMVARIANT_WITHRETURN ( rinsebackFlowRateRes , "Rinseback Flow Rate Ranges" , "Rinseback_Flow_Rate_Res" , UInt , isConfigsOk ); FROMVARIANT_WITHRETURN ( rinsebackFlowRateDef , "Rinseback Flow Rate Ranges" , "Rinseback_Flow_Rate_Def" , UInt , isConfigsOk ); - if(!isConfigsOk) { - emit didTreatmentRangesIncorrect(); - } + emit didTreatmentRangesDone( isConfigsOk ); }