mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 14:21:19 -07:00
Build correct states for safe profiles flow (except actual safe).
Re-use Discard Or Keep dialogue, but have different buttons. (Safe to New/Override instead of Keep/Discard.) The actual safa action is still the old one though (for either new button, it still goes to the old 'make a new profile' action). Besides that, some cosmetics have to be done to the texts as well still. part of CURA-9347
This commit is contained in:
parent
79629e477d
commit
c13deba1ea
4 changed files with 50 additions and 6 deletions
|
|
@ -816,11 +816,13 @@ UM.MainWindow
|
|||
Connections
|
||||
{
|
||||
target: CuraApplication
|
||||
function onShowDiscardOrKeepProfileChanges()
|
||||
function onShowCompareAndSaveProfileChanges(profileState)
|
||||
{
|
||||
discardOrKeepProfileChangesDialogLoader.sourceComponent = discardOrKeepProfileChangesDialogComponent
|
||||
discardOrKeepProfileChangesDialogLoader.item.state = profileState
|
||||
discardOrKeepProfileChangesDialogLoader.item.show()
|
||||
}
|
||||
function onShowDiscardOrKeepProfileChanges() { onShowCompareAndSaveProfileChanges("") }
|
||||
}
|
||||
|
||||
Cura.WizardDialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue