mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-26 09:04:29 +08:00
No need to set currentItem after a material is imported
CURA-4546
This commit is contained in:
parent
2397b68cd7
commit
dad2dfda89
@ -322,7 +322,6 @@ UM.ManagementPage
|
|||||||
{
|
{
|
||||||
messageDialog.icon = StandardIcon.Information
|
messageDialog.icon = StandardIcon.Information
|
||||||
messageDialog.text = catalog.i18nc("@info:status Don't translate the XML tag <filename>!", "Successfully imported material <filename>%1</filename>").arg(fileUrl)
|
messageDialog.text = catalog.i18nc("@info:status Don't translate the XML tag <filename>!", "Successfully imported material <filename>%1</filename>").arg(fileUrl)
|
||||||
currentItem = base.model.getItem(base.objectList.currentIndex)
|
|
||||||
}
|
}
|
||||||
else if(result.status == "duplicate")
|
else if(result.status == "duplicate")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user