mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
File - Import: Add "Import Pressure Depth Data"
* #9944 Add "Import Pressure Depth Data" to import menu Remove obsolete *InMenuFeatures and set all actions in menu to enabled when the signal aboutToShow() is triggered. This is useful for menus where no selection/context is available. * Use RiaApplication::enableDevelopmentFeatures() to control visibility
This commit is contained in:
@@ -751,10 +751,11 @@ void RiuMainWindowBase::addDefaultEntriesToWindowsMenu()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
QAction* exportLayoutAction = m_windowMenu->addAction( "Export Layout to Clipboard" );
|
||||
connect( exportLayoutAction, SIGNAL( triggered() ), this, SLOT( exportDockLayout() ) );
|
||||
#endif
|
||||
if ( RiaApplication::enableDevelopmentFeatures() )
|
||||
{
|
||||
QAction* exportLayoutAction = m_windowMenu->addAction( "Export Layout to Clipboard" );
|
||||
connect( exportLayoutAction, SIGNAL( triggered() ), this, SLOT( exportDockLayout() ) );
|
||||
}
|
||||
|
||||
m_windowMenu->addSeparator();
|
||||
QAction* cascadeWindowsAction = new QAction( "Cascade Windows", this );
|
||||
|
||||
Reference in New Issue
Block a user