Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r--resources/qml/Cura.qml13
1 files changed, 9 insertions, 4 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml
index c3d9dfbf96..3aa9dc558f 100644
--- a/resources/qml/Cura.qml
+++ b/resources/qml/Cura.qml
@@ -838,17 +838,22 @@ UM.MainWindow
}
}
- DiscardOrKeepProfileChangesDialog
+ Component
{
- id: discardOrKeepProfileChangesDialog
+ id: discardOrKeepProfileChangesDialogComponent
+ DiscardOrKeepProfileChangesDialog { }
+ }
+ Loader
+ {
+ id: discardOrKeepProfileChangesDialogLoader
}
-
Connections
{
target: CuraApplication
onShowDiscardOrKeepProfileChanges:
{
- discardOrKeepProfileChangesDialog.show()
+ discardOrKeepProfileChangesDialogLoader.sourceComponent = discardOrKeepProfileChangesDialogComponent
+ discardOrKeepProfileChangesDialogLoader.item.show()
}
}