mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Maintenance fixes
* Remove light mode from theme selection The light mode is not working well, and was intended to be used when exporting to pdf from dark mode. * Allow direct edit of summary case name The name for a summary case can be automatically created. If the user starts to edit the name manually, set the name option to Custom. Make the descriptionField available as not read-only, then it is possible to edit the name directly in the project tree using F2 or double-click. * Allow drag of ensembles * Add support for drag/drop of well segments * Add support for well segment number stepping in toolbar
This commit is contained in:
@@ -1073,6 +1073,7 @@ void RimSummaryCaseCollection::fieldChangedByUi( const caf::PdmFieldHandle* chan
|
||||
}
|
||||
if ( changedField == &m_name )
|
||||
{
|
||||
m_autoName = false;
|
||||
caseNameChanged.send();
|
||||
}
|
||||
}
|
||||
@@ -1092,7 +1093,6 @@ void RimSummaryCaseCollection::defineUiOrdering( QString uiConfigName, caf::PdmU
|
||||
{
|
||||
uiOrdering.add( &m_autoName );
|
||||
uiOrdering.add( &m_name );
|
||||
m_name.uiCapability()->setUiReadOnly( m_autoName() );
|
||||
if ( m_isEnsemble() )
|
||||
{
|
||||
uiOrdering.add( &m_ensembleId );
|
||||
@@ -1124,14 +1124,6 @@ void RimSummaryCaseCollection::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiT
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCaseCollection::setNameAsReadOnly()
|
||||
{
|
||||
m_name.uiCapability()->setUiReadOnly( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user