Fix crash editing account name

This commit is contained in:
Michael Gratton 2018-10-20 10:44:04 +11:00 committed by Michael James Gratton
parent 0cad1e15d8
commit 72f02ab08a

View file

@ -280,14 +280,7 @@ private class Accounts.NicknameRow : AccountRow<EditorEditPane,Gtk.Label> {
});
entry.show();
popover.add_labelled_row(
// Translators: Label used when editing the account's
// name.
_("Account name:"),
entry
);
popover.set_relative_to(this);
popover.set_relative_to(this.value);
popover.layout.add(entry);
popover.popup();
}