mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2535 Use the MainWindowTools class instead of MainWindow directly (part 1)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "RimOilField.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiuMainWindow.h"
|
||||
#include "Riu3DMainWindowTools.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -73,8 +73,9 @@ void RicEclipseCaseNewGroupExec::redo()
|
||||
|
||||
analysisModels->caseGroups().push_back(createdObject);
|
||||
analysisModels->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(createdObject);
|
||||
RiuMainWindow::instance()->setExpanded(createdObject);
|
||||
|
||||
Riu3DMainWindowTools::selectAsCurrentItem(createdObject);
|
||||
Riu3DMainWindowTools::setExpanded(createdObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user