--- MovieSelection.py.orig.3.2_021 +++ MovieSelection.py @@ -1927,6 +1927,15 @@ # cancelled by user (passing any arg means it's a dialog return) return item = self.getCurrentSelection() +# GML: +# Just return if there is no current selection. +# Can happen if you press the red button straight after stopping a +# recording (while the list of recordings is still being drawn) +# + if not item: + print "GML: PrematureDeletion ignored" + return + current = item[0] info = item[1] cur_path = os.path.realpath(current.getPath())