mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:28:59 +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()
|
signal showProfileNameDialog()
|
||||||
onShowProfileNameDialog: { renameDialog.removeWhenRejected = true; renameDialog.open(); renameDialog.selectText(); }
|
onShowProfileNameDialog: { renameDialog.removeWhenRejected = true; renameDialog.open(); renameDialog.selectText(); }
|
||||||
|
|
||||||
signal selectContainer(string id)
|
signal selectContainer(string name)
|
||||||
onSelectContainer: {
|
onSelectContainer: {
|
||||||
objectList.currentIndex = objectList.model.find("id", id);
|
objectList.currentIndex = objectList.model.find("name", name);
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user