mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2426 Add working legends to 2D intersection Views. Refactor to make legend update code work from a separate view with separate legend configs. Make sure legend and results are updated as the main view is updated. Adjust legendconfig->setTitle to use QString
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "cafPdmUiPushButtonEditor.h"
|
||||
#include "cafPdmUiTextEditor.h"
|
||||
#include "cafProgressInfo.h"
|
||||
#include "RimIntersectionCollection.h"
|
||||
|
||||
namespace caf {
|
||||
template<>
|
||||
@@ -691,6 +692,7 @@ void RimEclipseStatisticsCase::updateConnectedEditorsAndReservoirViews()
|
||||
// a full display model rebuild is required
|
||||
reservoirViews[i]->hasUserRequestedAnimation = true;
|
||||
reservoirViews[i]->scheduleCreateDisplayModelAndRedraw();
|
||||
reservoirViews[i]->crossSectionCollection()->scheduleCreateDisplayModelAndRedraw2dIntersectionViews();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user