Remove redundant update code

This commit is contained in:
Gaute Lindkvist
2020-06-03 13:03:16 +02:00
parent 192d8d1b21
commit eddafa76f0
2 changed files with 4 additions and 4 deletions

View File

@@ -891,6 +891,7 @@ void Rim3dView::fieldChangedByUi( const caf::PdmFieldHandle* changedField, const
}
}
this->applyBackgroundColorAndFontChanges();
this->updateConnectedEditors();
}
else if ( changedField == &maximumFrameRate )
{
@@ -1224,6 +1225,8 @@ void Rim3dView::applyBackgroundColorAndFontChanges()
}
updateGridBoxData();
updateAnnotationItems();
updateConnectedEditors();
onUpdateLegends();
this->scheduleCreateDisplayModelAndRedraw();
}