mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
SelectContainer now uses name instead of ID
CURA-2162
This commit is contained in:
parent
9c895d2f31
commit
e05bb54047
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue