Commit c5017331 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Properly specify icon name

This way we don't have material-specific names in KAlgebra
parent 9830b2c6
......@@ -46,7 +46,7 @@ KAlgebraPage
}
}
Button {
iconName: "content/add"
iconName: "list-add"
onClicked: {
input.selectAll()
view.addFunction(input.text, app.variables)
......
......@@ -58,7 +58,7 @@ KAlgebraPage
}
}
Button {
iconName: "content/add"
iconName: "list-add"
onClicked: {
input.selectAll()
var err = view.addFunction(input.text, app.variables)
......
......@@ -23,7 +23,7 @@ Loader
IconButton {
Layout.minimumWidth: implicitWidth*2
Layout.minimumHeight: implicitHeight*2
iconName: root.iconName
iconName: rootItem.iconConvert[root.iconName]
}
}
......
......@@ -25,7 +25,8 @@ ApplicationWindow
"adjustrgb": "action/view_carousel",
"kspread": "editor/format_list_numbered",
"document-properties": "content/content_copy",
"help-about": "action/help"
"help-about": "action/help",
"list-add": "content/add"
}
initialPage: Page {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment