No need to set currentItem after a material is imported

CURA-4546
This commit is contained in:
Lipu Fei 2017-11-23 14:08:10 +01:00
parent 2397b68cd7
commit dad2dfda89

View file

@ -322,7 +322,6 @@ UM.ManagementPage
{
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)
currentItem = base.model.getItem(base.objectList.currentIndex)
}
else if(result.status == "duplicate")
{