mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Appease reviewers.
- Ditch state in favour of enum. - Comment explaining 'extraInfo'. part of CURA-9347
This commit is contained in:
parent
9fe261ff58
commit
c74e7be602
5 changed files with 27 additions and 26 deletions
|
|
@ -804,10 +804,13 @@ UM.MainWindow
|
|||
function onShowCompareAndSaveProfileChanges(profileState)
|
||||
{
|
||||
discardOrKeepProfileChangesDialogLoader.sourceComponent = discardOrKeepProfileChangesDialogComponent
|
||||
discardOrKeepProfileChangesDialogLoader.item.state = profileState
|
||||
discardOrKeepProfileChangesDialogLoader.item.buttonState = profileState
|
||||
discardOrKeepProfileChangesDialogLoader.item.show()
|
||||
}
|
||||
function onShowDiscardOrKeepProfileChanges() { onShowCompareAndSaveProfileChanges("") }
|
||||
function onShowDiscardOrKeepProfileChanges()
|
||||
{
|
||||
onShowCompareAndSaveProfileChanges(DiscardOrKeepProfileChangesDialog.ButtonsType.DiscardOrKeep)
|
||||
}
|
||||
}
|
||||
|
||||
Cura.WizardDialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue