From 7dfb0086585ba5dbd160e62e1d739554079b7a6e Mon Sep 17 00:00:00 2001 From: mpa Date: Tue, 10 Nov 2015 19:09:07 +0300 Subject: [PATCH] INT PAL 0052913: TC7.7.0: it is impossible to select the intersected groups simultaneously --- src/ObjBrowser/OB_Browser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2