Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95b194
)
Qt4 porting: correct construction of object browser popup.
author
mkr
<mkr@opencascade.com>
Fri, 14 Mar 2008 15:28:42 +0000
(15:28 +0000)
committer
mkr
<mkr@opencascade.com>
Fri, 14 Mar 2008 15:28:42 +0000
(15:28 +0000)
src/SMESHGUI/SMESHGUI_Selection.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Selection.cxx
b/src/SMESHGUI/SMESHGUI_Selection.cxx
index 6f6151218a72b546d84e05695da1f2843fbd6ff2..9a7fe52c252451e76f2f5edfb638343f62906d03 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Selection.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Selection.cxx
@@
-119,7
+119,7
@@
QVariant SMESHGUI_Selection::parameter( const int ind, const QString& p ) const
SMESH_Actor* SMESHGUI_Selection::getActor( int ind ) const
{
if( ind >= 0 && ind < count() )
- return myActors.at( ind );
+ return myActors.
isEmpty() ? 0 : myActors.
at( ind );
else
return 0;
}