mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Update current item when importing new material
Since we select the newly imported material, we need to update the current item so that the window on the right also gets updated. Contributes to issue CURA-3138.
This commit is contained in:
parent
4fdaf734fc
commit
0ca157518e
1 changed files with 1 additions and 0 deletions
|
@ -278,6 +278,7 @@ UM.ManagementPage
|
|||
{
|
||||
messageDialog.icon = StandardIcon.Information
|
||||
messageDialog.text = catalog.i18nc("@info:status", "Successfully imported material <filename>%1</filename>").arg(fileUrl)
|
||||
currentItem = base.model.getItem(base.objectList.currentIndex)
|
||||
}
|
||||
else if(result.status == "duplicate")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue