mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
planner: initialize currCombo.ignoreSelection
I am not sure what this does, but it should be initialized before it is tested. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d061a54e3d
commit
8769b1232e
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ QWidget *ComboBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewI
|
|||
currCombo.currRow = index.row();
|
||||
currCombo.model = const_cast<QAbstractItemModel *>(index.model());
|
||||
currCombo.activeText = currCombo.model->data(index).toString();
|
||||
currCombo.ignoreSelection = false;
|
||||
|
||||
return comboDelegate;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue