network: hide Last used
when creating new connection
Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1996>
This commit is contained in:
parent
88ce1f97b3
commit
72246bceb1
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ connect_details_page (CEPageDetails *self)
|
|||
gtk_widget_set_visible (GTK_WIDGET (self->route_label), FALSE);
|
||||
}
|
||||
|
||||
if (!device_is_active && self->connection)
|
||||
if (!device_is_active && self->connection && !self->is_new_connection)
|
||||
update_last_used (self, self->connection);
|
||||
else {
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->last_used_heading_label), FALSE);
|
||||
|
|
Loading…
Add table
Reference in a new issue