]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
INT PAL 0052913: TC7.7.0: it is impossible to select the intersected groups simultane...
authormpa <mpa@opencascade.com>
Tue, 10 Nov 2015 16:09:07 +0000 (19:09 +0300)
committermpa <mpa@opencascade.com>
Tue, 10 Nov 2015 16:09:07 +0000 (19:09 +0300)
src/ObjBrowser/OB_Browser.cxx

index 29c3eb193599be6f998365169396abc4b5af8885..f71b70c4cd79c46382d281b9e80d4946efb9a72b 100755 (executable)
@@ -433,7 +433,8 @@ void OB_Browser::select( const QModelIndexList& indexes, const bool on, const bo
       for (int i = 1; i < indexes.size(); ++i) 
       {
         idx=indexes.at(i);
-        if(idx.parent().internalId()==last.parent().internalId() && idx.row()==last.row()+1 && idx.column()==last.column())
+        if(idx.parent().row()==last.parent().row() && idx.parent().column()==last.parent().column() &&
+           idx.row()==last.row()+1 && idx.column()==last.column())
         {
           // index is contiguous to last: extend the range
           last=idx;