Slight improvements to Attract shot delete operator
This commit is contained in:
parent
c8229500d1
commit
900068a6f5
@ -447,12 +447,13 @@ class AttractShotDelete(AttractOperatorMixin, Operator):
|
|||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
|
self.confirm = False
|
||||||
return context.window_manager.invoke_props_dialog(self)
|
return context.window_manager.invoke_props_dialog(self)
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
col = layout.column()
|
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):
|
class AttractStripUnlink(AttractOperatorMixin, Operator):
|
||||||
|
Reference in New Issue
Block a user