Merge pull request #350 from pypeclub/feature/app_tool_presets_migration

simplify apps and tools configuration
This commit is contained in:
Milan Kolar 2020-07-28 10:18:33 +02:00 committed by GitHub
commit 2adfe36626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 526 additions and 243 deletions

View file

@ -105,11 +105,10 @@ class IntentModel(QtGui.QStandardItemModel):
intents_preset = (
config.get_presets()
.get("tools", {})
.get("pyblish", {})
.get("ui", {})
.get("intents", {})
.get("global", {})
.get("intent", {})
)
default = intents_preset.get("default")
items = intents_preset.get("items", {})
if not items: