mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-20 11:48:35 -06:00
#4920 Fix second contour map export file name suggestion.
This commit is contained in:
parent
76d196a91a
commit
5ecda9d4be
@ -120,7 +120,7 @@ void RicExportContourMapToTextFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
QString fileName = featureUi.exportFileName();
|
||||
|
||||
app->setLastUsedDialogDirectory( "CONTOUR_EXPORT", fileName );
|
||||
app->setLastUsedDialogDirectory( "CONTOUR_EXPORT", QFileInfo( fileName ).absolutePath() );
|
||||
m_exportFileName = fileName;
|
||||
m_exportLocalCoordinates = featureUi.exportLocalCoordinates();
|
||||
m_undefinedValueLabel = featureUi.undefinedValueLabel();
|
||||
|
Loading…
Reference in New Issue
Block a user