Bugfix for [#21798] Submit description doesn't work.
authorThomas Dinges <blender@dingto.org>
Sun, 28 Mar 2010 10:52:24 +0000 (10:52 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 28 Mar 2010 10:52:24 +0000 (10:52 +0000)
release/scripts/op/wm.py

index de3ca919efe4138b4563524802144a323cff2387..5893a9cf472dc430f48183c47174817a95ce2562 100644 (file)
@@ -536,12 +536,12 @@ class WM_OT_doc_edit(bpy.types.Operator):
     def draw(self, context):
         layout = self.layout
         props = self.properties
-        layout.label(props, text="Descriptor ID: '%s'" % props.doc_id)
+        layout.label(text="Descriptor ID: '%s'" % props.doc_id)
         layout.prop(props, "doc_new", text="")
 
     def invoke(self, context, event):
         wm = context.manager
-        return wm.invoke_props_dialog(self, event, width=600)
+        return wm.invoke_props_dialog(self, width=600)
 
 
 class WM_OT_reload_scripts(bpy.types.Operator):