Suggest unique name when creating/duplicating profiles

CURA-2161
This commit is contained in:
fieldOfView 2016-09-06 17:46:11 +02:00
parent 68ddf90d58
commit a52bb1422b
2 changed files with 7 additions and 3 deletions

View file

@ -254,6 +254,10 @@ class ContainerManager(QObject):
return True
return False
@pyqtSlot(str, result = str)
def makeUniqueName(self, original_name):
return self._container_registry.uniqueName(original_name)
## Get a list of string that can be used as name filters for a Qt File Dialog
#
# This will go through the list of available container types and generate a list of strings