Add warning to PerObjectSettingsPanel when Print Sequence is set to All at Once

This commit is contained in:
fieldOfView 2015-12-09 15:05:39 +01:00
parent 03e9694e32
commit 5fe1de2153
2 changed files with 17 additions and 3 deletions

View file

@ -11,6 +11,7 @@ import UM 1.1 as UM
Item {
id: base;
property int currentIndex: UM.ActiveTool.properties.SelectedIndex;
property string printSequence: UM.ActiveTool.properties.PrintSequence;
width: childrenRect.width;
height: childrenRect.height;
@ -22,6 +23,14 @@ Item {
spacing: UM.Theme.sizes.default_margin.height;
Label {
width: UM.Theme.sizes.setting.width;
wrapMode: Text.Wrap;
text: catalog.i18nc("@label", "Per Object Settings behavior may be unexpected when 'Print sequence' is set to 'All at Once'.")
color: UM.Theme.colors.text;
visible: base.printSequence == "all_at_once"
}
UM.SettingItem {
id: profileSelection