SelectContainer now uses name instead of ID

CURA-2162
This commit is contained in:
Jaime van Kessel 2016-08-24 13:21:53 +02:00
parent 9c895d2f31
commit e05bb54047

View File

@ -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 {