diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-02-17 19:59:03 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-02-17 19:59:03 +0530 |
| commit | 46f83731f76ccb703307a9705c5cca93bfaf40d9 (patch) | |
| tree | 98ce1df814117ba8df2a19509db81f30d0c214f2 /History.java | |
| parent | 8a095b2b1652b04903a9792106743bddf8203e97 (diff) | |
add clear history button
Diffstat (limited to 'History.java')
| -rw-r--r-- | History.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/History.java b/History.java index b1527ef..ef2807b 100644 --- a/History.java +++ b/History.java @@ -7,6 +7,10 @@ public class History { hist = new Vector<String>(); } + public void clearHistory() { + hist.clear(); + } + public Vector<String> getHistory() { return hist; } |
