Replace UM.MessageDialog with newly added Cura.MessageDialog

This dialog is different from the `UM.MessageDialog` in that it

CURA-8688
This commit is contained in:
casper 2022-02-23 14:09:38 +01:00
parent e75993e7f3
commit e03176a1fa
10 changed files with 37 additions and 17 deletions

View file

@ -0,0 +1,20 @@
// Copyright (c) 2022 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import UM 1.5 as UM
import Cura 1.5 as Cura
// Wrapper around the UM.MessageBox with the primary/secondarybuttons
// set to Cura.PrimaryButton and Cura.SecondaryButton respectively
UM.MessageDialog
{
primaryButton: Cura.PrimaryButton
{
text: model.text
}
secondaryButton: Cura.TertiaryButton
{
text: model.text
}
}