fixed regression from switching folder from outputs to inputs

This commit is contained in:
itsmattkc
2021-03-14 21:51:47 +11:00
parent 2a9513e56a
commit fd6319b837
6 changed files with 22 additions and 19 deletions
@@ -319,7 +319,7 @@ void ProjectExplorer::ShowContextMenu()
Menu* proxy_menu = new Menu(tr("Pre-Cache"), &menu);
menu.addMenu(proxy_menu);
QVector<Sequence*> sequences = project()->root()->ListOutputsOfType<Sequence>();
QVector<Sequence*> sequences = project()->root()->ListChildrenOfType<Sequence>();
if (sequences.isEmpty()) {
QAction* a = proxy_menu->addAction(tr("No sequences exist in project"));