mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3037 Guard pointer access
This commit is contained in:
parent
e370dee3b0
commit
e814272bea
@ -104,6 +104,8 @@ void PdmUiComboBoxEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
m_comboBox->blockSignals(false);
|
||||
}
|
||||
|
||||
if (!m_layout.isNull())
|
||||
{
|
||||
if (attributes.showPreviousAndNextButtons)
|
||||
{
|
||||
if (m_previousItemButton.isNull())
|
||||
@ -170,6 +172,7 @@ void PdmUiComboBoxEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
m_nextItemButton->deleteLater();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user