clang : Identify gridfile correctly

This commit is contained in:
Magne Sjaastad 2019-04-20 19:46:49 +02:00
parent 8cefcbb562
commit 159f3fa0fc

View File

@ -540,7 +540,7 @@ QString RiaDefines::defaultDirectoryLabel(RiaDefines::ImportFileType fileType)
{
defaultDirLabel = "GENERAL_DATA";
}
else if (fileType & (ECLIPSE_GRID_FILE | fileType & ECLIPSE_EGRID_FILE))
else if (fileType & ECLIPSE_RESULT_GRID)
{
defaultDirLabel = "BINARY_GRID";
}