mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 13:47:06 -06:00
#12189 Do not update global selection from tree views in the plot window
The intention is to update the selection manager only from the 3D view. The 3D interaction handlers will be affected if the selection manager is updated from the plot window.
This commit is contained in:
1 parent
efa3ef8f52
commit
e2c0279f08
1 file changed
+5
-2
@@ -498,10 +498,13 @@ void RiuPlotMainWindow::createDockPanels()
|
||||
auto dockWidget = RiuDockWidgetTools::createDockWidget( treeViewTitles[i], treeViewDockNames[i], dockManager() );
|
||||
|
||||
caf::PdmUiTreeView* projectTree = projectTreeView( i );
|
||||
projectTree->enableSelectionManagerUpdating( true );
|
||||
|
||||
projectTree->enableAppendOfClassNameToUiItemText( RiaPreferencesSystem::current()->appendClassNameToUiText() );
|
||||
|
||||
// NB! Do not call projectTree->enableSelectionManagerUpdating( true )
|
||||
// The intention is to update the selection manager only from the 3D view. The 3D interaction handlers will be affected if the
|
||||
// selection manager is updated from the plot window.
|
||||
// See RiuMainWindow::createDockPanels()
|
||||
|
||||
dockWidget->setWidget( projectTree );
|
||||
|
||||
projectTree->treeView()->setHeaderHidden( true );
|
||||
|
||||
Reference in new issue
Block a user