mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary multiplot improvements (#8598)
* Create multi summary plot from summary plot(s) * Rearrange multi summary plot properties * Enable source stepping toolbar for multi summary plot * Automatically activate new summary plot when creating from data sources -> data vector tree * Enable global key controls for switching data in summary and multi summary plots * Update tooltip texts for summary plot toolbar
This commit is contained in:
@@ -255,7 +255,16 @@ void RiuMainWindowBase::selectAsCurrentItem( const caf::PdmObject* object, bool
|
||||
m_allowActiveViewChangeFromSelection = allowActiveViewChange;
|
||||
|
||||
auto tv = getTreeViewWithItem( object );
|
||||
if ( tv ) tv->selectAsCurrentItem( object );
|
||||
if ( tv )
|
||||
{
|
||||
tv->selectAsCurrentItem( object );
|
||||
QDockWidget* dw = dynamic_cast<QDockWidget*>( tv->parentWidget() );
|
||||
if ( dw )
|
||||
{
|
||||
dw->show();
|
||||
dw->raise();
|
||||
}
|
||||
}
|
||||
|
||||
m_allowActiveViewChangeFromSelection = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user