mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Co-authored-by: kriben <kriben@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d4d79d3dec
commit
80234ca105
@@ -79,7 +79,7 @@ void RicPasteAsciiDataToSummaryPlotFeature::onActionTriggered( bool isChecked )
|
||||
QString text = getPastedData();
|
||||
|
||||
RicPasteAsciiDataToSummaryPlotFeatureUi pasteOptions;
|
||||
caf::PdmSettings::readFieldsFromApplicationStore( &pasteOptions );
|
||||
caf::PdmSettings::readFieldsFromApplicationStore( &pasteOptions, pasteOptions.contextString() );
|
||||
if ( !summaryPlot ) pasteOptions.createNewPlot();
|
||||
pasteOptions.setUiModePasteText( text );
|
||||
|
||||
@@ -102,7 +102,7 @@ void RicPasteAsciiDataToSummaryPlotFeature::onActionTriggered( bool isChecked )
|
||||
summaryPlotCollection->updateConnectedEditors();
|
||||
}
|
||||
|
||||
caf::PdmSettings::writeFieldsToApplicationStore( &pasteOptions );
|
||||
caf::PdmSettings::writeFieldsToApplicationStore( &pasteOptions, pasteOptions.contextString() );
|
||||
|
||||
for ( RimAsciiDataCurve* curve : curves )
|
||||
{
|
||||
|
@@ -556,3 +556,11 @@ void RicPasteAsciiDataToSummaryPlotFeatureUi::updatePreviewTextAndDateFormat()
|
||||
|
||||
m_dateFormat = df;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RicPasteAsciiDataToSummaryPlotFeatureUi::contextString() const
|
||||
{
|
||||
return QString( "AsciiDataToSummarySettings" );
|
||||
}
|
@@ -131,6 +131,8 @@ public:
|
||||
const AsciiDataParseOptions parseOptions() const;
|
||||
void createNewPlot();
|
||||
|
||||
QString contextString() const;
|
||||
|
||||
static DateFormat dateFormatFromString( const QString& dateString );
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user