From 900068a6f51b925a0848a1f1fb8c712a332f8b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 4 Nov 2016 17:47:13 +0100 Subject: [PATCH] Slight improvements to Attract shot delete operator --- blender_cloud/attract/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blender_cloud/attract/__init__.py b/blender_cloud/attract/__init__.py index 454d8e6..bbc26d0 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -447,12 +447,13 @@ class AttractShotDelete(AttractOperatorMixin, Operator): return {'FINISHED'} def invoke(self, context, event): + self.confirm = False return context.window_manager.invoke_props_dialog(self) def draw(self, context): layout = self.layout col = layout.column() - col.prop(self, 'confirm', text="I hereby confirm I want to delete this shot from The Edit.") + col.prop(self, 'confirm', text="I hereby confirm: delete this shot from The Edit.") class AttractStripUnlink(AttractOperatorMixin, Operator):