#2331 Add 2d Intersection View collection with automatic views. The create command is adjusted into a "Show" command.

This commit is contained in:
Jacob Støren
2018-01-23 14:23:28 +01:00
parent 9cfd2ff3cf
commit d34b3a7c74
19 changed files with 321 additions and 36 deletions

View File

@@ -86,7 +86,7 @@ void RimViewWindow::updateMdiWindowVisibility()
{
if (viewWidget())
{
if (m_showWindow)
if (isWindowVisible())
{
viewWidget()->show();
}
@@ -149,7 +149,7 @@ void RimViewWindow::fieldChangedByUi(const caf::PdmFieldHandle* changedField, co
{
if ( changedField == &m_showWindow )
{
if (m_showWindow)
if (isWindowVisible())
{
onLoadDataAndUpdate();
}