Fix showPassiveNotification call in Account Editor
I hate this thing, I think the standalone account editor was fine, but it didn't work when I went through account settings. Now that should be fixed.
This commit is contained in:
@@ -138,7 +138,7 @@ FormCard.FormCardPage {
|
|||||||
icon.name: "document-save-symbolic"
|
icon.name: "document-save-symbolic"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!root.connection.setAvatar(avatar.source)) {
|
if (!root.connection.setAvatar(avatar.source)) {
|
||||||
showPassiveNotification("The Avatar could not be set");
|
(root.Window.window as Kirigami.ApplicationWindow).showPassiveNotification("The Avatar could not be set");
|
||||||
}
|
}
|
||||||
if (root.connection.localUser.displayName !== name.text) {
|
if (root.connection.localUser.displayName !== name.text) {
|
||||||
root.connection.localUser.rename(name.text);
|
root.connection.localUser.rename(name.text);
|
||||||
|
|||||||
Reference in New Issue
Block a user