aboutsummaryrefslogtreecommitdiffstats
path: root/src/VideoList.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoList.hx')
-rw-r--r--src/VideoList.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VideoList.hx b/src/VideoList.hx
index 852c5e5..e974165 100644
--- a/src/VideoList.hx
+++ b/src/VideoList.hx
@@ -76,6 +76,12 @@ class VideoList {
items[pos].isTemp = !items[pos].isTemp;
}
+ public function setAllItemTypes(isTemp:Bool):Void {
+ for (item in items) {
+ item.isTemp = isTemp;
+ }
+ }
+
public function removeItem(index:Int):Void {
if (index < pos) pos--;
items.remove(items[index]);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage