Commit aaf88243 authored by Nicolas Carion's avatar Nicolas Carion
Browse files

small typo

parent e7770420
Pipeline #1584 passed with stage
in 24 minutes and 5 seconds
...@@ -2962,7 +2962,7 @@ bool TimelineModel::requestSetSelection(const std::unordered_set<int> &ids) ...@@ -2962,7 +2962,7 @@ bool TimelineModel::requestSetSelection(const std::unordered_set<int> &ids)
} else { } else {
Fun undo = []() { return true; }; Fun undo = []() { return true; };
Fun redo = []() { return true; }; Fun redo = []() { return true; };
result = m_currentSelection = m_groups->groupItems(ids, undo, redo, GroupType::Selection); result = (m_currentSelection = m_groups->groupItems(ids, undo, redo, GroupType::Selection)) >= 0;
Q_ASSERT(m_currentSelection >= 0); Q_ASSERT(m_currentSelection >= 0);
} }
emit selectionChanged(); emit selectionChanged();
......
Markdown is supported
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