mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2369 Elm props: Clear cell results on deletion
This commit is contained in:
@@ -48,9 +48,9 @@ void RicImportElementPropertyFeature::onActionTriggered(bool isChecked)
|
||||
|
||||
QString defaultDir = app->lastUsedDialogDirectory("ELM_PROPS");
|
||||
QStringList fileNames =
|
||||
QFileDialog::getOpenFileNames(NULL, "Import Element Property Table", defaultDir, "Property Table (*.inp)");
|
||||
QFileDialog::getOpenFileNames(nullptr, "Import Element Property Table", defaultDir, "Property Table (*.inp)");
|
||||
|
||||
if (fileNames.size())
|
||||
if (!fileNames.empty())
|
||||
{
|
||||
defaultDir = QFileInfo(fileNames.last()).absolutePath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user