mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:39:02 +08:00
Use template literals to format string
This commit is contained in:
parent
e1068fb3bc
commit
64e3e8b31d
@ -55,7 +55,7 @@ Item
|
||||
|
||||
delegate: UM.ToolbarButton
|
||||
{
|
||||
text: model.name + (model.shortcut ? (" (" + model.shortcut + ")") : "")
|
||||
text: model.name + (model.shortcut ? ` ("${model.shortcut}")` : "")
|
||||
checkable: true
|
||||
checked: model.active
|
||||
enabled: model.enabled && UM.Selection.hasSelection && UM.Controller.toolsEnabled
|
||||
|
Loading…
x
Reference in New Issue
Block a user