mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
finish editing once an option is selected
This commit is contained in:
parent
095a75b5e3
commit
cf7dd9dab2
@ -21,6 +21,9 @@ EnumEditor::EnumEditor(QWidget *parent) : AbstractAssignableEditor(parent) {
|
|||||||
|
|
||||||
m_comboBox = new QComboBox;
|
m_comboBox = new QComboBox;
|
||||||
layout->addWidget(m_comboBox);
|
layout->addWidget(m_comboBox);
|
||||||
|
|
||||||
|
connect(m_comboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||||
|
[this](int) { emit editingDone(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
EnumEditor::EnumEditor(TuxClocker::Device::EnumerationVec enums, QWidget *parent)
|
EnumEditor::EnumEditor(TuxClocker::Device::EnumerationVec enums, QWidget *parent)
|
||||||
|
Loading…
Reference in New Issue
Block a user