notmuch: emit dirinfo upon label change

This commit is contained in:
Reto Brunner 2020-03-01 11:58:39 +01:00
parent f3dbecaaea
commit 979da6d6f7

View file

@ -442,6 +442,9 @@ func (w *worker) handleModifyLabels(msg *types.ModifyLabels) error {
} }
// and update the list of possible tags // and update the list of possible tags
w.emitLabelList() w.emitLabelList()
if err = w.emitDirectoryInfo(w.currentQueryName); err != nil {
w.w.Logger.Printf(err.Error())
}
w.done(msg) w.done(msg)
return nil return nil
} }