correctly delete the QtDo process when finished

This commit is contained in:
Romain Bignon 2010-07-10 13:30:31 +02:00
commit 6edfcfd574
3 changed files with 10 additions and 4 deletions

View file

@ -88,6 +88,7 @@ class MainWindow(QtMainWindow):
def addVideo(self, backend, video):
if not backend:
self.ui.searchEdit.setEnabled(True)
self.process = None
return
minivideo = MiniVideo(backend, video)
self.ui.scrollAreaContent.layout().addWidget(minivideo)