mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
GuiIdListModel: ignore DecorationRole (icons of available list)
This commit is contained in:
parent
b60259fbe1
commit
e325c7cc6a
@ -63,6 +63,9 @@ bool GuiIdListModel::setData(QModelIndex const & index,
|
||||
dataChanged(index, index);
|
||||
return true;
|
||||
}
|
||||
if (role == Qt::DecorationRole)
|
||||
// nothing to do
|
||||
return true;
|
||||
// If we assert here, it's because we're trying to set an
|
||||
// unrecognized role.
|
||||
LATTEST(false);
|
||||
|
Loading…
Reference in New Issue
Block a user