From: Jean-Baptiste Mardelle Date: Tue, 26 May 2009 13:46:04 +0000 (+0000) Subject: Fix focus issue: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2d9acd1c5b5e5a1978d6fa29592f83520bd45fe5;p=kdenlive Fix focus issue: http://www.kdenlive.org/mantis/view.php?id=848 svn path=/trunk/kdenlive/; revision=3427 --- diff --git a/src/customruler.cpp b/src/customruler.cpp index 4c02217a..6adb2a2e 100644 --- a/src/customruler.cpp +++ b/src/customruler.cpp @@ -111,6 +111,7 @@ void CustomRuler::mousePressEvent(QMouseEvent * event) m_contextMenu->exec(event->globalPos()); return; } + setFocus(Qt::MouseFocusReason); m_view->activateMonitor(); m_moveCursor = RULER_CURSOR; if (event->y() > 10) {