mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix missing return value
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c1bc29bd4b
commit
a20040a561
1 changed files with 1 additions and 0 deletions
|
@ -555,6 +555,7 @@ bool DiveImportedModel::setData(const QModelIndex &index, const QVariant &value,
|
||||||
|
|
||||||
checkStates[index.row() + firstIndex ] = value.toBool();
|
checkStates[index.row() + firstIndex ] = value.toBool();
|
||||||
dataChanged(index, index, QVector<int>() << Qt::CheckStateRole);
|
dataChanged(index, index, QVector<int>() << Qt::CheckStateRole);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Qt::ItemFlags DiveImportedModel::flags(const QModelIndex &index) const {
|
Qt::ItemFlags DiveImportedModel::flags(const QModelIndex &index) const {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue