mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#1408 Initialize custom combo box with StrongFocus
This commit is contained in:
parent
c6c1af06e3
commit
edd4726cf5
@ -155,6 +155,8 @@ protected:
|
|||||||
QWidget* PdmUiComboBoxEditor::createEditorWidget(QWidget * parent)
|
QWidget* PdmUiComboBoxEditor::createEditorWidget(QWidget * parent)
|
||||||
{
|
{
|
||||||
m_comboBox = new CustomQComboBox(parent);
|
m_comboBox = new CustomQComboBox(parent);
|
||||||
|
m_comboBox->setFocusPolicy(Qt::StrongFocus);
|
||||||
|
|
||||||
connect(m_comboBox, SIGNAL(activated(int)), this, SLOT(slotIndexActivated(int)));
|
connect(m_comboBox, SIGNAL(activated(int)), this, SLOT(slotIndexActivated(int)));
|
||||||
|
|
||||||
return m_comboBox;
|
return m_comboBox;
|
||||||
|
Loading…
Reference in New Issue
Block a user