mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#369) Refix updating of propertyview on selection of none-object
This commit is contained in:
parent
0670403c1d
commit
3e3b1a2480
@ -1607,9 +1607,11 @@ void RiuMainWindow::selectedObjectsChanged()
|
||||
if (uiItems.size() == 1)
|
||||
{
|
||||
firstSelectedObject = dynamic_cast<caf::PdmObjectHandle*>(uiItems[0]);
|
||||
}
|
||||
m_pdmUiPropertyView->showProperties(firstSelectedObject);
|
||||
|
||||
m_pdmUiPropertyView->showProperties(firstSelectedObject);
|
||||
|
||||
if (uiItems.size() == 1)
|
||||
{
|
||||
RimView* activeReservoirView = RiaApplication::instance()->activeReservoirView();
|
||||
|
||||
// Find the reservoir view that the selected item is within
|
||||
@ -1638,7 +1640,7 @@ void RiuMainWindow::selectedObjectsChanged()
|
||||
setActiveViewer(selectedReservoirView->viewer());
|
||||
}
|
||||
|
||||
// m_OBSOLETE_treeView->setCurrentIndex(current);
|
||||
// m_projectTreeView->selectAsCurrentItem(uiItems[0]); TODO: Is this neccesary ? Was done in the old tree view.
|
||||
|
||||
refreshDrawStyleActions();
|
||||
refreshAnimationActions();
|
||||
|
Loading…
Reference in New Issue
Block a user