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:
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "RifWellPathImporter.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "Riu3DMainWindowTools.h"
|
||||
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimFishboneWellPathCollection, "WellPathCompletionCollection");
|
||||
@@ -133,7 +133,7 @@ void RimFishboneWellPathCollection::appendCompletion(RimFishboneWellPath* comple
|
||||
m_wellPaths.push_back(completion);
|
||||
|
||||
updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(completion);
|
||||
Riu3DMainWindowTools::selectAsCurrentItem(completion);
|
||||
|
||||
uiCapability()->setUiHidden(!m_wellPaths.empty());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user