X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationDlg.cxx;h=c23683e9ac1c16eccefef716e6131012acc106fe;hb=a53349567d67f4df0ef737798a25c24d9dc8f08e;hp=49d6188827c69f86837afd2322ef17ba0e9c8110;hpb=457ce361f17154c25755624bd0aacda1c6cffb62;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx index 49d61888..c23683e9 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx @@ -738,5 +738,10 @@ void HYDROGUI_CalculationDlg::setRules( const HYDROData_ListOfRules& theRules ) */ void HYDROGUI_CalculationDlg::onOrderChanged() { - myPriorityWidget->setObjects( getGeometryObjects() ); + bool isConfirmed = true; + emit orderChanged( isConfirmed ); + if( isConfirmed ) + myPriorityWidget->setObjects( getGeometryObjects() ); + else + myGeomObjects->undoLastMove(); }