Some cleanup

This commit is contained in:
Jon Jenssen authored and JJ committed 2026-06-17 13:55:32 +02:00
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();
}