Commit b3578ee
committed
slint-viewer: handle path being renamed and replaced
Some editors may backup a file by renaming it to append ~, then saving
the new file contents to a new file. notify-rs/notify#166 explains
that a non-recursive watcher on the parent directory is the
recommended way to deal with this situation.
Closes: slint-ui#36411 parent 97940ee commit b3578ee
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
193 | 203 | | |
194 | 204 | | |
195 | 205 | | |
| |||
0 commit comments