From: mpa Date: Tue, 10 Nov 2015 16:09:07 +0000 (+0300) Subject: INT PAL 0052913: TC7.7.0: it is impossible to select the intersected groups simultane... X-Git-Tag: V8_0_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7dfb0086585ba5dbd160e62e1d739554079b7a6e;p=modules%2Fgui.git INT PAL 0052913: TC7.7.0: it is impossible to select the intersected groups simultaneously --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index 29c3eb193..f71b70c4c 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -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;