Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #3150: Turn On/Off Isos for multi-selection
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ModuleConnector.cpp
diff --git
a/src/XGUI/XGUI_ModuleConnector.cpp
b/src/XGUI/XGUI_ModuleConnector.cpp
index 36866a91eda927474d490538e3d4e00d5d9bebdc..b0ee40950c0511083162f829f87ded6aa77b1d55 100644
(file)
--- a/
src/XGUI/XGUI_ModuleConnector.cpp
+++ b/
src/XGUI/XGUI_ModuleConnector.cpp
@@
-130,13
+130,7
@@
void XGUI_ModuleConnector::setSelected(const QList<ModuleBase_ViewerPrsPtr>& the
myWorkshop->selector()->clearSelection();
aBrowser->treeView()->clearSelection();
} else {
myWorkshop->selector()->clearSelection();
aBrowser->treeView()->clearSelection();
} else {
- aDisp->setSelected(theValues);
- // Synchronise the selection with Object browser
- QObjectPtrList anObjects;
- foreach(ModuleBase_ViewerPrsPtr aVal, theValues) {
- anObjects.append(aVal->object());
- }
- aBrowser->setObjectsSelected(anObjects);
+ myWorkshop->selector()->setSelected(theValues);
}
}
}
}