Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix favorite compositions broken. Fixes #361

parent 39d2567a
Pipeline #9441 failed with stage
in 4 minutes and 15 seconds
......@@ -98,14 +98,11 @@ void TransitionTreeModel::setFavorite(const QModelIndex &index, bool favorite, b
}
item->setData(AssetTreeModel::favCol, favorite);
auto id = item->dataColumn(AssetTreeModel::idCol).toString();
QStringList favs = KdenliveSettings::favorite_effects();
QStringList favs = KdenliveSettings::favorite_transitions();
if (favorite) {
favs << id;
} else {
favs.removeAll(id);
}
KdenliveSettings::setFavorite_effects(favs);
/*if (TransitionsRepository::get()->exists(id)) {
TransitionsRepository::get()->setFavorite(id, favorite);
}*/
KdenliveSettings::setFavorite_transitions(favs);
}
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