diff --git a/resources/qml/Preferences/ProfilesPage.qml b/resources/qml/Preferences/ProfilesPage.qml index 56d000eddc..348e8dbc60 100644 --- a/resources/qml/Preferences/ProfilesPage.qml +++ b/resources/qml/Preferences/ProfilesPage.qml @@ -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 {