[qcineoob] add current action description info

This commit is contained in:
Julien Veyssier 2013-03-12 16:35:16 +01:00
commit 33981a8fdb
5 changed files with 29 additions and 14 deletions

View file

@ -59,7 +59,10 @@ class Movie(QFrame):
def casting(self):
role = None
tosearch = self.ui.castingCombo.currentText()
role_desc = ''
if tosearch != 'all':
role = tosearch[:-1]
self.parent.doAction(self.parent.castingAction,[self.movie.id,role])
role_desc = ' as %s'%role
self.parent.doAction('Casting%s of movie "%s"'%(role_desc,self.movie.original_title),
self.parent.castingAction,[self.movie.id,role])