]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
INT PAL 53009: 'Remove row' removes 1st row always.
authormpa <mpa@opencascade.com>
Wed, 9 Dec 2015 07:33:24 +0000 (10:33 +0300)
committermpa <mpa@opencascade.com>
Wed, 9 Dec 2015 07:33:24 +0000 (10:33 +0300)
src/StdMeshersGUI/StdMeshersGUI_DistrTable.cxx

index c5ba29ec42650ed41ec9398f2ddd9eb1799443c7..2066cac77a02cd2bc0fb54f87bb29523844a8e9a 100644 (file)
@@ -445,7 +445,7 @@ deleteRow()
 {
   QList<int> selRows = selectedRows();
   for ( int r = selRows.count()-1; r >= 0; r-- )
-    removeRow( r );
+    removeRow( selRows.at(r) );
 }
 
 void