Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e18069c
)
Issue #1921: Ignore non valid index on document change.
author
vsv
<vitaly.smetannikov@opencascade.com>
Wed, 14 Dec 2016 09:56:48 +0000
(12:56 +0300)
committer
nds
<nds@opencascade.com>
Thu, 15 Dec 2016 11:36:24 +0000
(14:36 +0300)
src/PartSet/PartSet_Module.cpp
patch
|
blob
|
history
diff --git
a/src/PartSet/PartSet_Module.cpp
b/src/PartSet/PartSet_Module.cpp
index 4baa040de7218cc423e697c323d7fccc03aa6533..fc24193b82ff0761aa562a19673e74f7089ed40d 100755
(executable)
--- a/
src/PartSet/PartSet_Module.cpp
+++ b/
src/PartSet/PartSet_Module.cpp
@@
-1292,7
+1292,8
@@
void PartSet_Module::onTreeViewDoubleClick(const QModelIndex& theIndex)
return;
SessionPtr aMgr = ModelAPI_Session::get();
if (!theIndex.isValid()) {
- aMgr->setActiveDocument(aMgr->moduleDocument());
+ // It seems that this code is obsolete
+ //aMgr->setActiveDocument(aMgr->moduleDocument());
return;
}
if (theIndex.column() != 0) // Use only first column