Skip to content
Commit 27e1c236 authored by David Redondo's avatar David Redondo 🏎
Browse files

Use some() for searching in list of model indices

includes() compares for equality, two objects are only equal if both reference
the same object. The active task model index is not necessarily the same as the
indx corresponding to it in the list because they are created seperately.
Alternatively we can just check if some index in the list is active.
parent ad97508a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment