mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2331 Add 2d Intersection View collection with automatic views. The create command is adjusted into a "Show" command.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user