diff options
| author | Mason Reed <mason@vector35.com> | 2025-10-07 14:12:11 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-10-07 14:12:11 -0400 |
| commit | 2153c833b67de7e032ff135cdb322bb4e49d2bd1 (patch) | |
| tree | fc4240256b95d1e7db317a911d8bb7c1497a5575 /plugins/warp/src | |
| parent | 43476710a30c1ce7abdfbd4371a2892b8038e55e (diff) | |
[WARP] Implicitly make newly added network sources writable
This fixes an issue where the commit dialog would not fill in the newly added network source
Diffstat (limited to 'plugins/warp/src')
| -rw-r--r-- | plugins/warp/src/container/network.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/warp/src/container/network.rs b/plugins/warp/src/container/network.rs index db935a5e..9630d832 100644 --- a/plugins/warp/src/container/network.rs +++ b/plugins/warp/src/container/network.rs @@ -251,6 +251,8 @@ impl Container for NetworkContainer { .map_err(|_| CannotCreateSource(path))?; // Must probe the source before attempting to access it, as it does not exist locally. self.probe_source(source); + // Adding a source inherently makes it writable, so we add it to the set of writable sources. + self.writable_sources.insert(source); Ok(source) } |
