mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
the update placeholder keep placeholder info when canceled or closed
This commit is contained in:
parent
ef7627199e
commit
01f2c59049
1 changed files with 4 additions and 2 deletions
|
|
@ -107,11 +107,13 @@ def update_placeholder():
|
|||
placeholder = placeholder[0]
|
||||
|
||||
args = placeholder_window(get_placeholder_attributes(placeholder))
|
||||
# delete placeholder attributes
|
||||
delete_placeholder_attributes(placeholder)
|
||||
|
||||
if not args:
|
||||
return # operation canceled
|
||||
|
||||
# delete placeholder attributes
|
||||
delete_placeholder_attributes(placeholder)
|
||||
|
||||
options = create_options(args)
|
||||
|
||||
imprint(placeholder, options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue