From fd4ba4c48323b20fbc4cf9fba4da696de93edfbd Mon Sep 17 00:00:00 2001 From: richb2k <75949649+richb2k@users.noreply.github.com> Date: Thu, 9 Jan 2025 13:47:03 -0500 Subject: [PATCH] ElmerGui, minor fix to account for toLower() of FDNEUT, must compare the input to lower case 'fdneut'. Needed in order to successfully load any FDNEUT input file. --- ElmerGUI/Application/src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElmerGUI/Application/src/mainwindow.cpp b/ElmerGUI/Application/src/mainwindow.cpp index 6c516abbdd..573c660fca 100644 --- a/ElmerGUI/Application/src/mainwindow.cpp +++ b/ElmerGUI/Application/src/mainwindow.cpp @@ -1651,7 +1651,7 @@ void MainWindow::readInputFile(QString fileName) { tetlibInputOk = true; } - } else if ((fileSuffix == "grd") || (fileSuffix == "FDNEUT") || + } else if ((fileSuffix == "grd") || (fileSuffix == "fdneut") || (fileSuffix == "msh") || (fileSuffix == "mphtxt") || (fileSuffix == "inp") || (fileSuffix == "unv") || (fileSuffix == "plt")) {