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

Add Set zone in/out to timeline ruler context menu

Fixes #1335
parent bdc91a63
......@@ -639,6 +639,8 @@ void MainWindow::init(const QString &mltPath)
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("edit_guide")));
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("lock_guides")));
timelineRulerMenu->addMenu(guideMenu);
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("mark_in")));
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("mark_out")));
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("add_project_note")));
timelineRulerMenu->addAction(actionCollection()->action(QStringLiteral("add_subtitle")));
......
......@@ -1296,6 +1296,7 @@ Rectangle {
root.showTimelineMenu()
} else {
// ruler menu
proxy.position = (scrollView.contentX + mouse.x) / timeline.scaleFactor
root.showRulerMenu()
}
}
......
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