mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 22:50:25 -05:00
Some cleanup
This commit is contained in:
1 parent
fa8ed95a37
commit
0973dfd62b
8 files changed
+25
-13
No files matched your search
@@ -357,7 +357,7 @@ void RiuDockWidgetTools::setDockLayout( RiuMainWindowBase* mainWindow, const QSt
|
||||
if ( mainWindow == nullptr ) return;
|
||||
|
||||
QString activeViewerName;
|
||||
if ( auto activeViewer = RiaGuiApplication::instance()->activeReservoirView() )
|
||||
if ( auto activeViewer = mainWindow->activeViewer() )
|
||||
{
|
||||
activeViewerName = activeViewer->dockWindowName();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user