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);
|
m_comboBox->blockSignals(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!m_layout.isNull())
|
||||||
|
{
|
||||||
if (attributes.showPreviousAndNextButtons)
|
if (attributes.showPreviousAndNextButtons)
|
||||||
{
|
{
|
||||||
if (m_previousItemButton.isNull())
|
if (m_previousItemButton.isNull())
|
||||||
@ -171,6 +173,7 @@ void PdmUiComboBoxEditor::configureAndUpdateUi(const QString& uiConfigName)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
// Special class used to prevent a combo box to steal focus when scrolling
|
// Special class used to prevent a combo box to steal focus when scrolling
|
||||||
|
Loading…
Reference in New Issue
Block a user