Fix tags list not up to date after adding or removing a tag

This commit is contained in:
Vyn 2024-04-15 09:37:28 +02:00
parent dc4f0795c7
commit 9ced5c422d
3 changed files with 27 additions and 10 deletions

View file

@ -36,6 +36,8 @@ class Mirai
std::weak_ptr<TasksView> getTasks();
const std::vector<std::string> &getTags();
void reloadTags();
private:
// The `TasksFile`s are shared to the views, their lifetime can outlive
// this (Mirai) object