Fix regression that prevented pinned items to update while window is open

This commit is contained in:
Raphael Ludwig
2022-02-14 20:59:48 +01:00
parent 058f8684aa
commit 165b925da2
2 changed files with 42 additions and 38 deletions

View File

@@ -41,7 +41,9 @@ func watchFiles() {
event.Op.String() == "RENAME") {
desktopTrigger = true
} else if event.Name == pinnedFile {
pinnedTrigger = true
// TODO: This can be used to propagate information about the changed file to the
// GUI to avoid recreating everything
pinnedItemsChanged <- struct{}{}
}
case err := <-watcher.Errors: