mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 18:20:22 +01:00
settings: clear filename after deleting file from disk
It doesn't really matter, because in the next step we
are about to remove the connection.
However, once the connection is deleted from file, it's
clear that it has no more file-name.
(cherry picked from commit 1fd5c52eaf)
This commit is contained in:
parent
4334069b10
commit
c7c76c1f32
1 changed files with 2 additions and 0 deletions
|
|
@ -755,6 +755,8 @@ nm_settings_connection_delete (NMSettingsConnection *self,
|
|||
error))
|
||||
return FALSE;
|
||||
|
||||
nm_settings_connection_set_filename (self, NULL);
|
||||
|
||||
set_visible (self, FALSE);
|
||||
|
||||
/* Tell agents to remove secrets for this connection */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue