Further refactoring

This commit is contained in:
Gaute Lindkvist
2019-11-15 13:35:39 +01:00
parent 3dd4cb505b
commit 85d683634c
34 changed files with 283 additions and 237 deletions

View File

@@ -132,7 +132,7 @@ void RimPlotWindow::setLegendFontSize( int fontSize )
//--------------------------------------------------------------------------------------------------
void RimPlotWindow::updateLayout()
{
performLayoutUpdate();
doUpdateLayout();
}
//--------------------------------------------------------------------------------------------------
@@ -233,7 +233,7 @@ void RimPlotWindow::setId( int id )
//--------------------------------------------------------------------------------------------------
void RimPlotWindow::assignIdIfNecessary()
{
if ( m_id == -1 )
if ( m_id == -1 && isMdiWindow() )
{
RiaApplication::instance()->project()->assignPlotIdToPlotWindow( this );
}