Commit b901b42f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Improve main item when grabbing

Related to #272
parent eb206e1d
Pipeline #5054 passed with stage
in 20 minutes and 44 seconds
......@@ -2143,10 +2143,6 @@ const QString TimelineController::getAssetName(const QString &assetId, bool isTr
void TimelineController::grabCurrent()
{
if (m_model->getCurrentSelection().empty()) {
// TODO: error displayMessage
return;
}
std::unordered_set<int> ids = m_model->getCurrentSelection();
std::unordered_set<int> items_list;
int mainId = -1;
......
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