| 834 | } |
| 835 | |
| 836 | void EffectStackView::addRemoveKeyframe() |
| 837 | { |
| 838 | int max = m_model->rowCount(); |
| 839 | int currentActive = m_model->getActiveEffect(); |
| 840 | if (currentActive < max && currentActive > -1) { |
| 841 | auto item = m_model->getEffectStackRow(currentActive); |
| 842 | QModelIndex ix = m_filter->mapFromSource(m_model->getIndexFromItem(item)); |
| 843 | auto *w = static_cast<CollapsibleEffectView *>(m_effectsTree->indexWidget(ix)); |
| 844 | w->addRemoveKeyframe(); |
| 845 | } |
| 846 | } |
| 847 | |
| 848 | void EffectStackView::sendStandardCommand(int command) |
| 849 | { |
no test coverage detected