From 6076deae1d2af6ccc7ff5a9b6a5ac1c3e679c975 Mon Sep 17 00:00:00 2001 From: Lennon Donaghy Date: Sun, 1 Aug 2021 21:19:26 +0100 Subject: HackStudio: Clear ToDo entries upon opening new project The ToDoEntries and ToDoEntriesWidget classes now have methods for clearing the entries, before entries would stay permanently, even after switching to a new project. --- Userland/DevTools/HackStudio/ToDoEntries.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/DevTools/HackStudio/ToDoEntries.h') diff --git a/Userland/DevTools/HackStudio/ToDoEntries.h b/Userland/DevTools/HackStudio/ToDoEntries.h index 8efe89e414..b90d3a8161 100644 --- a/Userland/DevTools/HackStudio/ToDoEntries.h +++ b/Userland/DevTools/HackStudio/ToDoEntries.h @@ -24,6 +24,8 @@ public: Vector get_entries(); + void clear_entries(); + Function on_update = nullptr; private: -- cgit v1.2.3