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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user