From 6f2f02b709d2ea789b39b68f9a21a1a35d421075 Mon Sep 17 00:00:00 2001 From: tassaron Date: Wed, 7 Jun 2017 17:09:28 -0400 Subject: newProject method & various small fixes --- components/video.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/video.py b/components/video.py index b28b81e..f086cc0 100644 --- a/components/video.py +++ b/components/video.py @@ -5,7 +5,8 @@ import subprocess import threading from queue import PriorityQueue from . import __base__ - + + class Video: '''Video Component Frame-Fetcher''' def __init__(self, **kwargs): @@ -129,10 +130,12 @@ class Component(__base__.Component): def loadPreset(self, pr): self.page.lineEdit_video.setText(pr['video']) + self.page.checkBox_loop.setChecked(pr['loop']) def savePreset(self): return { 'video': self.videoPath, + 'loop': self.loopVideo, } def pickVideo(self): -- cgit v1.2.3