#3842 Summary : Update source stepping based on selection

This commit is contained in:
Magne Sjaastad 2018-12-17 16:14:32 +01:00
parent b3c3631cc4
commit 0d1a4cf0a6

View File

@ -713,6 +713,16 @@ void RiuPlotMainWindow::selectedObjectsChanged()
m_pdmUiPropertyView->showProperties(firstSelectedObject);
if (firstSelectedObject)
{
RimSummaryPlot* summaryPlot = nullptr;
firstSelectedObject->firstAncestorOrThisOfType(summaryPlot);
if (summaryPlot)
{
updateSummaryPlotToolBar();
}
}
if (uiItems.size() == 1 && m_allowActiveViewChangeFromSelection)
{
// Find the reservoir view or the Plot that the selected item is within