From: Jean-Baptiste M. <jb...@kd...> - 2013-01-28 15:11:52
|
Git commit 72e99aaf5f89a00473f1159cfbd434816f4b1e53 by Jean-Baptiste Mardelle. Committed on 28/01/2013 at 16:11. Pushed by mardelle into branch 'refactoring'. Fix startup crash M +2 -0 src/core/timelineview/tool/toolmanager.cpp http://commits.kde.org/kdenlive/72e99aaf5f89a00473f1159cfbd434816f4b1e53 diff --git a/src/core/timelineview/tool/toolmanager.cpp b/src/core/timelineview/tool/toolmanager.cpp index 9d69c9f..ad88ea7 100644 --- a/src/core/timelineview/tool/toolmanager.cpp +++ b/src/core/timelineview/tool/toolmanager.cpp @@ -25,11 +25,13 @@ ToolManager::ToolManager(QObject* parent) : void ToolManager::clipEvent(TimelineClipItem* clipItem, QEvent* event) { + if (!m_activeTool) return; m_activeTool->clipEvent(clipItem, event); } void ToolManager::sceneEvent(TimelineScene* scene, QEvent* event) { + if (!m_activeTool) return; m_activeTool->sceneEvent(scene, event); } |