From: mpa Date: Wed, 9 Dec 2015 07:33:24 +0000 (+0300) Subject: INT PAL 53009: 'Remove row' removes 1st row always. X-Git-Tag: V8_0_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f573f79fc8f2013e495d92f16319b5762e9fb7ae;p=modules%2Fsmesh.git INT PAL 53009: 'Remove row' removes 1st row always. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_DistrTable.cxx b/src/StdMeshersGUI/StdMeshersGUI_DistrTable.cxx index c5ba29ec4..2066cac77 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_DistrTable.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_DistrTable.cxx @@ -445,7 +445,7 @@ deleteRow() { QList selRows = selectedRows(); for ( int r = selRows.count()-1; r >= 0; r-- ) - removeRow( r ); + removeRow( selRows.at(r) ); } void