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

Ensure monitor is paused when extracting a frame.

Related to #1491
parent e9fc92ec
Pipeline #208798 passed with stage
in 6 minutes and 50 seconds
......@@ -1107,6 +1107,10 @@ std::shared_ptr<ProjectClip> Monitor::currentController() const
void Monitor::slotExtractCurrentFrame(QString frameName, bool addToProject)
{
if (m_playAction->isActive()) {
// Pause playing
switchPlay(false);
}
if (QFileInfo(frameName).fileName().isEmpty()) {
// convenience: when extracting an image to be added to the project,
// suggest a suitable image file name. In the project monitor, this
......
Supports Markdown
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