mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:29:02 +08:00
SelectContainer now uses name instead of ID
CURA-2162
This commit is contained in:
parent
9c895d2f31
commit
e05bb54047
@ -123,9 +123,9 @@ UM.ManagementPage
|
||||
signal showProfileNameDialog()
|
||||
onShowProfileNameDialog: { renameDialog.removeWhenRejected = true; renameDialog.open(); renameDialog.selectText(); }
|
||||
|
||||
signal selectContainer(string id)
|
||||
signal selectContainer(string name)
|
||||
onSelectContainer: {
|
||||
objectList.currentIndex = objectList.model.find("id", id);
|
||||
objectList.currentIndex = objectList.model.find("name", name);
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Loading…
x
Reference in New Issue
Block a user