mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 10:00: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.
This commit is contained in:
parent
a3074ee911
commit
1fd5c52eaf
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