mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Refactor the profile and Cura specific import/export code, put the cura stuff in Cura itself.
Contributes to CURA-1667 Profile import/export
This commit is contained in:
parent
c0b31d85fa
commit
175b5429b4
3 changed files with 173 additions and 2 deletions
|
@ -264,7 +264,7 @@ UM.ManagementPage
|
|||
id: importDialog;
|
||||
title: catalog.i18nc("@title:window", "Import Profile");
|
||||
selectExisting: true;
|
||||
nameFilters: base.model.getFileNameFiltersRead()
|
||||
nameFilters: base.model.getFileNameFilters("profile_reader")
|
||||
folder: base.model.getDefaultPath()
|
||||
onAccepted:
|
||||
{
|
||||
|
@ -291,7 +291,7 @@ UM.ManagementPage
|
|||
id: exportDialog;
|
||||
title: catalog.i18nc("@title:window", "Export Profile");
|
||||
selectExisting: false;
|
||||
nameFilters: base.model.getFileNameFiltersWrite()
|
||||
nameFilters: base.model.getFileNameFilters("profile_writer")
|
||||
folder: base.model.getDefaultPath()
|
||||
onAccepted:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue