mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update text for curve names and plot titles when source data changes
* Update titles after dropping vectors into plot * Do not replace _Name variables * Make sure signals are wired when opening a project file * Add auto name field and set default on * Remove includes from header files
This commit is contained in:
@@ -526,7 +526,7 @@ void RimSummaryMultiPlot::defineEditorAttribute( const caf::PdmFieldHandle* fiel
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryMultiPlot::updatePlotWindowTitle()
|
||||
void RimSummaryMultiPlot::updatePlotTitles()
|
||||
{
|
||||
if ( m_autoPlotTitle )
|
||||
{
|
||||
@@ -727,7 +727,7 @@ void RimSummaryMultiPlot::initAfterRead()
|
||||
void RimSummaryMultiPlot::onLoadDataAndUpdate()
|
||||
{
|
||||
RimMultiPlot::onLoadDataAndUpdate();
|
||||
updatePlotWindowTitle();
|
||||
updatePlotTitles();
|
||||
|
||||
analyzePlotsAndAdjustAppearanceSettings();
|
||||
}
|
||||
@@ -1344,7 +1344,7 @@ std::pair<int, int> RimSummaryMultiPlot::gridLayoutInfoForSubPlot( RimSummaryPlo
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryMultiPlot::onSubPlotChanged( const caf::SignalEmitter* emitter )
|
||||
{
|
||||
updatePlotWindowTitle();
|
||||
updatePlotTitles();
|
||||
applyPlotWindowTitleToWidgets();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user