mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Apply suggestions from code review
This commit is contained in:
parent
8bb1b0bee8
commit
784cd2c99b
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue