mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Suggest unique name when creating/duplicating profiles
CURA-2161
This commit is contained in:
parent
68ddf90d58
commit
a52bb1422b
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue