mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06: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
|
@ -6,6 +6,8 @@ import QtQuick 2.10
|
|||
import UM 1.6 as UM
|
||||
import Cura 1.6 as Cura
|
||||
|
||||
import "../Dialogs"
|
||||
|
||||
Item
|
||||
{
|
||||
property bool fullWarning: true // <- Can you see the warning icon and the text, or is it just the buttons?
|
||||
|
@ -144,7 +146,12 @@ Item
|
|||
hoverColor: UM.Theme.getColor("primary_hover")
|
||||
|
||||
enabled: Cura.SimpleModeSettingsManager.isProfileCustomized
|
||||
onClicked: CuraApplication.showCompareAndSaveProfileChanges(Cura.MachineManager.hasCustomQuality ? "saveFromCustom" : "saveFromBuiltIn")
|
||||
onClicked: CuraApplication.showCompareAndSaveProfileChanges
|
||||
(
|
||||
Cura.MachineManager.hasCustomQuality ?
|
||||
DiscardOrKeepProfileChangesDialog.ButtonsType.SaveFromCustom :
|
||||
DiscardOrKeepProfileChangesDialog.ButtonsType.SaveFromBuiltIn
|
||||
)
|
||||
|
||||
UM.ToolTip
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue