From: vsr Date: Wed, 23 Jun 2010 12:46:15 +0000 (+0000) Subject: Bug IPAL21795: Application crashes after cancel in Translate presentation X-Git-Tag: V5_1_main_20100624 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4fb2a27742df093b23f980413fbfdb2bf8d4498c;p=modules%2Fvisu.git Bug IPAL21795: Application crashes after cancel in Translate presentation --- diff --git a/src/VISUGUI/VisuGUI_OffsetDlg.cxx b/src/VISUGUI/VisuGUI_OffsetDlg.cxx index 391c8264..9dc2aa0a 100644 --- a/src/VISUGUI/VisuGUI_OffsetDlg.cxx +++ b/src/VISUGUI/VisuGUI_OffsetDlg.cxx @@ -325,7 +325,7 @@ void VisuGUI_OffsetDlg::reject() updateOffset(myPrsList.at(i), myOldOffsets[i].myOffset); } for (int i = 0; i < myPointMapList.count(); i++) { - updatePointMapOffset(myPointMapList.at(i), myOldOffsets[i].myOffset); + updatePointMapOffset(myPointMapList.at(i), myOldPointMapOffsets[i].myOffset); } QDialog::reject(); }