From 4e7bd1a63d833b55381e7911cf21ab19f007b4ba Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Sat, 10 Jul 2010 19:04:51 +0000
Subject: [PATCH] add a poll function for the sequencer

---
 space_view3d_property_chart.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/space_view3d_property_chart.py b/space_view3d_property_chart.py
index e28da4691..4a99d1889 100644
--- a/space_view3d_property_chart.py
+++ b/space_view3d_property_chart.py
@@ -170,6 +170,8 @@ class SequencerEditProps(bpy.types.Panel):
 
     draw = _property_chart_draw
 
+    def poll(self, context):
+        return context.scene.sequence_editor is not None
 
 # Operator to copy properties
 
-- 
GitLab