mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Remove Profiles from Per Object Settings panel
Also disables Per Object Settings tool button when sidebar is in simple mode. Contributes to CURA-901
This commit is contained in:
parent
8eb6fecacf
commit
de28561152
3 changed files with 11 additions and 25 deletions
|
@ -33,7 +33,7 @@ Item {
|
|||
|
||||
checkable: true;
|
||||
checked: model.active;
|
||||
enabled: UM.Selection.hasSelection && UM.Controller.toolsEnabled;
|
||||
enabled: model.enabled && UM.Selection.hasSelection && UM.Controller.toolsEnabled;
|
||||
|
||||
style: UM.Theme.styles.tool_button;
|
||||
|
||||
|
@ -72,7 +72,7 @@ Item {
|
|||
}
|
||||
height: panel.item ? panel.height + 2 * UM.Theme.getSize("default_margin").height : 0;
|
||||
|
||||
opacity: panel.item ? 1 : 0
|
||||
opacity: panel.item && panel.width > 0 ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
|
||||
color: UM.Theme.getColor("lining");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue