mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Use template literals to format string
This commit is contained in:
parent
e1068fb3bc
commit
64e3e8b31d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue