Move PerObjectSettings to Cura

This was already done in master.
This commit is contained in:
Ghostkeeper 2015-10-16 17:06:06 +02:00
parent da1d59ff98
commit e7f2c9de70
2 changed files with 43 additions and 4 deletions

View file

@ -90,6 +90,7 @@ Item {
valid: model.valid;
perObjectSetting: true
dismissable: true
options: model.options
style: UM.Theme.styles.setting_item;
@ -120,7 +121,9 @@ Item {
Button
{
id: customise_settings_button;
anchors.right: profileSelection.right;
visible: parseInt(UM.Preferences.getValue("cura/active_mode")) == 1
text: catalog.i18nc("@action:button", "Customize Settings");
@ -140,6 +143,16 @@ Item {
}
onClicked: settingPickDialog.visible = true;
Connections
{
target: UM.Preferences;
onPreferenceChanged:
{
customise_settings_button.visible = parseInt(UM.Preferences.getValue("cura/active_mode"))
}
}
}
}