mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
make sure divider doesn't exist when the version up option is being disabled
This commit is contained in:
parent
9e12a51c9d
commit
7ebdb7be41
1 changed files with 1 additions and 2 deletions
|
|
@ -75,9 +75,8 @@ def install(project_settings):
|
|||
|
||||
cmds.setParent("..", menu=True)
|
||||
|
||||
cmds.menuItem(divider=True)
|
||||
|
||||
if project_settings["core"]["tools"]["Workfiles"].get("version_up_workfile"):
|
||||
cmds.menuItem(divider=True)
|
||||
cmds.menuItem(
|
||||
"Version Up Workfile",
|
||||
command=lambda *args: version_up_workfile()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue