]> git.sesse.net Git - kdenlive/blobdiff - src/smallruler.cpp
use const'ref
[kdenlive] / src / smallruler.cpp
index b476c0384814153ee16f4b0c9603d28d5f027af1..df28a8d90fec03fba3e19655535891207bfefb09 100644 (file)
@@ -122,6 +122,7 @@ QPoint SmallRuler::zone()
 // virtual
 void SmallRuler::mousePressEvent(QMouseEvent * event)
 {
+    m_render->setActiveMonitor();
     const int pos = event->x() / m_scale;
     if (event->button() == Qt::RightButton) {
         // Right button clicked, move selection zone