Remove duplicate add/remove/setActive viewer methods from MainWindow.

(#408) Added Save Load of WellLog Plot window geometry also
This commit is contained in:
Jacob Støren
2015-09-02 15:53:49 +02:00
parent 1282766427
commit 30e2495849
8 changed files with 46 additions and 84 deletions

View File

@@ -1464,7 +1464,7 @@ void RiaApplication::saveSnapshotForAllViews(const QString& snapshotFolderName)
setActiveReservoirView(riv);
RiuViewer* viewer = riv->viewer();
mainWnd->setActiveViewer(viewer);
mainWnd->setActiveViewer(viewer->layoutWidget());
// Process all events to avoid a black image when grabbing frame buffer
QCoreApplication::processEvents();