mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Adjustments to UI
* #9551: Guard nullpointer if no RFT data is present * Hide RFT in tree view if no RFT file is found * Avoid display of 3d main window when importing a summary case * Use specific grid import feature instead of general file import feature
This commit is contained in:
@@ -594,7 +594,7 @@ void RiuMainWindow::createToolBars()
|
||||
{
|
||||
QToolBar* toolbar = addToolBar( tr( "Standard" ) );
|
||||
toolbar->setObjectName( toolbar->windowTitle() );
|
||||
toolbar->addAction( cmdFeatureMgr->action( "RicImportGeneralDataFeature" ) );
|
||||
toolbar->addAction( cmdFeatureMgr->action( "RicImportEclipseCaseFeature" ) );
|
||||
toolbar->addAction( cmdFeatureMgr->action( "RicOpenProjectFeature" ) );
|
||||
toolbar->addAction( cmdFeatureMgr->action( "RicSaveProjectFeature" ) );
|
||||
}
|
||||
|
||||
@@ -405,7 +405,7 @@ QStringList RiuPlotMainWindow::toolbarCommandIds( const QString& toolbarName )
|
||||
|
||||
if ( toolbarName.isEmpty() || toolbarName == "Standard" )
|
||||
{
|
||||
commandIds << "RicImportGeneralDataFeature";
|
||||
commandIds << "RicImportEclipseCaseFeature";
|
||||
commandIds << "RicImportSummaryCaseFeature";
|
||||
commandIds << "RicImportEnsembleFeature";
|
||||
commandIds << "RicOpenProjectFeature";
|
||||
|
||||
Reference in New Issue
Block a user