Fix issue with clear image button. Will only be visible if the user has an avatar (local or saved)
This commit is contained in:
committed by
Tobias Fella
parent
cba88e1af7
commit
8b8e521c56
@@ -139,7 +139,7 @@ Kirigami.ScrollablePage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.Button {
|
Controls.Button {
|
||||||
visible: avatar.source.length !== 0
|
visible: avatar.source.toString().length !== 0
|
||||||
icon.name: "edit-clear"
|
icon.name: "edit-clear"
|
||||||
|
|
||||||
onClicked: avatar.source = ""
|
onClicked: avatar.source = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user