mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Removed singleton UM.OperationStack, merged with CuraActions
Removed ActiveTool singleton added to controller singleton CURA-7812
This commit is contained in:
parent
d01b5c1767
commit
676099ccf6
7 changed files with 45 additions and 21 deletions
|
@ -203,7 +203,7 @@ Item
|
|||
x: UM.Theme.getSize("default_margin").width
|
||||
y: UM.Theme.getSize("default_margin").height
|
||||
|
||||
source: UM.ActiveTool.valid ? UM.ActiveTool.activeToolPanel : ""
|
||||
source: UM.Controller.valid ? UM.Controller.activeToolPanel : ""
|
||||
enabled: UM.Controller.toolsEnabled
|
||||
}
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ Item
|
|||
UM.Label
|
||||
{
|
||||
id: toolHint
|
||||
text: UM.ActiveTool.properties.getValue("ToolHint") != undefined ? UM.ActiveTool.properties.getValue("ToolHint") : ""
|
||||
text: UM.Controller.properties.getValue("ToolHint") != undefined ? UM.ActiveTool.properties.getValue("ToolHint") : ""
|
||||
color: UM.Theme.getColor("tooltip_text")
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue