Apply suggestions from code review

This commit is contained in:
Casper Lamboo 2022-04-29 10:30:11 +02:00 committed by GitHub
parent 8bb1b0bee8
commit 784cd2c99b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -259,7 +259,7 @@ UM.ManagementPage
currentFolder: CuraApplication.getDefaultPath("dialog_material_path")
onAccepted:
{
var nameFilterString = selectedNameFilter.index >= 0 ? nameFilters[selectedNameFilter.index] : nameFilters[0]
const nameFilterString = selectedNameFilter.index >= 0 ? nameFilters[selectedNameFilter.index] : nameFilters[0];
const result = Cura.ContainerManager.exportContainer(base.currentItem.root_material_id, nameFilterString, selectedFile);