Expose builtin target profiles to service

This commit is contained in:
DarkPhoenix
2019-12-06 17:14:12 +03:00
parent 649db019de
commit 6fdb57318c
6 changed files with 29 additions and 21 deletions

View File

@@ -88,7 +88,7 @@ class TargetProfileEntityEditor(EntityEditor):
def getEntitiesFromContext(self):
sTR = TargetProfile.getInstance()
choices = sorted(sTR.getTargetProfileList(), key=lambda p: p.name)
choices = sorted(sTR.getUserTargetProfileList(), key=lambda p: p.name)
return choices
def DoNew(self, name):