mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add copy/paste of Summary Multi Plot (#8942)
* Guard use of back() on empty vector * Add "Show Data Sources" to ensemble realizations * Update summary plot as summary curve collection is not visible in tree view * Set selection manager root in RiaApplication * Always close both main windows if present * Add copy/paste of summary multi plot * Add test for RiuMainWindow::instance() before use * Remove duplicated code * Multiple Tree Views : Use getTreeViewWithItem() to find correct tree view * Minor UI adjustments
This commit is contained in:
@@ -788,7 +788,7 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( gsl::not_n
|
||||
mainPlotWnd->loadWinGeoAndDockToolBarLayout();
|
||||
}
|
||||
|
||||
RiuMainWindow::instance()->loadWinGeoAndDockToolBarLayout();
|
||||
if ( RiuMainWindow::instance() ) RiuMainWindow::instance()->loadWinGeoAndDockToolBarLayout();
|
||||
|
||||
return ApplicationStatus::EXIT_COMPLETED;
|
||||
}
|
||||
@@ -1140,7 +1140,7 @@ void RiaGuiApplication::clearAllSelections()
|
||||
void RiaGuiApplication::showFormattedTextInMessageBoxOrConsole( const QString& text )
|
||||
{
|
||||
// Create a message dialog with cut/paste friendly text
|
||||
QDialog dlg( RiuMainWindow::instance() );
|
||||
QDialog dlg;
|
||||
dlg.setModal( true );
|
||||
|
||||
QGridLayout* layout = new QGridLayout;
|
||||
@@ -1478,7 +1478,7 @@ void RiaGuiApplication::applyGuiPreferences( const RiaPreferences*
|
||||
rim3dView->updateScaling();
|
||||
if ( rim3dView == activeViewWindow() )
|
||||
{
|
||||
RiuMainWindow::instance()->updateScaleValue();
|
||||
if ( RiuMainWindow::instance() ) RiuMainWindow::instance()->updateScaleValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user