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
refs #226: the next non-filled widget should have focus after preselection processing
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IModule.cpp
diff --git
a/src/ModuleBase/ModuleBase_IModule.cpp
b/src/ModuleBase/ModuleBase_IModule.cpp
index 773c84b5a32542459a3078a08108c60aa94a4c37..36e09437e72d38564105a63087319edb9d56c07b 100644
(file)
--- a/
src/ModuleBase/ModuleBase_IModule.cpp
+++ b/
src/ModuleBase/ModuleBase_IModule.cpp
@@
-34,9
+34,7
@@
void ModuleBase_IModule::launchOperation(const QString& theCmdId)
ModuleBase_Operation* anOperation = createOperation(theCmdId.toStdString());
ModuleBase_ISelection* aSelection = myWorkshop->selection();
// Initialise operation with preliminary selection
ModuleBase_Operation* anOperation = createOperation(theCmdId.toStdString());
ModuleBase_ISelection* aSelection = myWorkshop->selection();
// Initialise operation with preliminary selection
- QList<ModuleBase_ViewerPrs> aSelected = aSelection->getSelected();
- QList<ModuleBase_ViewerPrs> aHighlighted = aSelection->getHighlighted();
- anOperation->initSelection(aSelected, aHighlighted);
+ anOperation->initSelection(aSelection, myWorkshop->viewer());
sendOperation(anOperation);
}
sendOperation(anOperation);
}