mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 01:26:19 -06:00
#2535 Use the MainWindowTools class instead of MainWindow directly (part 4)
This commit is contained in:
1 parent
562dfbe9b8
commit
267e3ef59d
27 files changed
+74
-65
No files matched your search
@@ -36,7 +36,7 @@
|
||||
#include "RimEclipseView.h"
|
||||
#include "RimReservoirCellResultsStorage.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "Riu3DMainWindowTools.h"
|
||||
|
||||
#include "cafProgressInfo.h"
|
||||
|
||||
@@ -173,7 +173,7 @@ void RimIdenticalGridCaseGroup::loadMainCaseAndActiveCellInfo()
|
||||
RimEclipseCase* mainCase = caseCollection()->reservoirs[0];
|
||||
if (!mainCase->openReserviorCase())
|
||||
{
|
||||
QMessageBox::warning(RiuMainWindow::instance(),
|
||||
QMessageBox::warning(Riu3DMainWindowTools::mainWindowWidget(),
|
||||
"Error when opening project file",
|
||||
"Could not open the Eclipse Grid file: \n"+ mainCase->gridFileName() + "\n"+
|
||||
"Current working directory is: \n" +
|
||||
|
||||
Reference in new issue
Block a user