Commit 0c07853
committed
config: Don't error if
As noted in pop-os/cosmic-comp#1603, there's no
need to a system default config file for this particular setting. So as
an alternative to that PR, we can ensure this isn't printed as an error.
As noted in the description of
pop-os/libcosmic#948, if the system default is
not present, `Error::GetKey` is returned, without mapping to the
`Error::NotFound` variant. So check for that, as well as `.is_err()`.tiling_exception_custom is not present1 parent 6a633c5 commit 0c07853
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| |||
0 commit comments