mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 08:50:27 +01:00
tui: fix updating of NmtPasswordFields passwords (bgo #733002)
The actual entry is a sub-widget, and was getting updated when the user changed the password, but those changes were not being propagated to the NmtPasswordFields object's 'password' property. https://bugzilla.gnome.org/show_bug.cgi?id=733002
This commit is contained in:
parent
240a9a92ae
commit
82b0ea8707
1 changed files with 4 additions and 0 deletions
|
|
@ -156,6 +156,10 @@ nmt_password_fields_constructed (GObject *object)
|
|||
} else
|
||||
g_clear_object (&priv->show_password);
|
||||
|
||||
g_object_bind_property (priv->entry, "text",
|
||||
object, "password",
|
||||
G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
|
||||
|
||||
G_OBJECT_CLASS (nmt_password_fields_parent_class)->constructed (object);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue