mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
* Formation names format changed to allow no space around k-layer numbers. Also added possibility to use one number as k-layer count for the name. Based on previous names last layer * Deleted geomech cache of formation name result when updating the formation names * Added TNH TNQV THQV to plane transformed stresses.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include "QMessageBox"
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicReloadFormationNamesFeature, "RicReloadFormationNamesFeature");
|
||||
|
||||
@@ -62,7 +63,13 @@ void RicReloadFormationNamesFeature::onActionTriggered(bool isChecked)
|
||||
caf::SelectionManager::instance()->objectsByType(&selectedFormationNamesObjs);
|
||||
for (RimFormationNames* fnames: selectedFormationNamesObjs)
|
||||
{
|
||||
fnames->readFormationNamesFile(nullptr);
|
||||
QString errorMessage;
|
||||
fnames->readFormationNamesFile(&errorMessage);
|
||||
if ( !errorMessage.isEmpty() )
|
||||
{
|
||||
QMessageBox::warning(nullptr, "Reload Formation Names", errorMessage);
|
||||
}
|
||||
|
||||
fnames->updateConnectedViews();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user