dragging audio clips fails
@thomasvs
Submitted by Thomas Vander Stichele Assigned to Thomas Vander Stichele @thomasvs
Description
I wanted to verify if Pitivi/GNonLin could work with .flac files.
So I imported a track, then tried to drag it to the timeline.
Nothing happened.
The console shows:
Traceback (most recent call last):
File "/usr/share/pitivi/python/pitivi/ui/timeline.py", line 175, in _dragDataReceivedCb
instance.PiTiVi.current.timeline.addFactory(factory)
File "/usr/share/pitivi/python/pitivi/timeline/timeline.py", line 141, in addFactory
comp.appendSource(source)
UnboundLocalError: local variable 'source' referenced before assignment
Traceback (most recent call last):
File "/usr/share/pitivi/python/pitivi/ui/timeline.py", line 175, in _dragDataReceivedCb
instance.PiTiVi.current.timeline.addFactory(factory)
File "/usr/share/pitivi/python/pitivi/timeline/timeline.py", line 141, in addFactory
comp.appendSource(source)
UnboundLocalError: local variable 'source' referenced before assignment
Traceback (most recent call last):
File "/usr/share/pitivi/python/pitivi/ui/timeline.py", line 175, in _dragDataReceivedCb
instance.PiTiVi.current.timeline.addFactory(factory)
File "/usr/share/pitivi/python/pitivi/timeline/timeline.py", line 141, in addFactory
comp.appendSource(source)
UnboundLocalError: local variable 'source' referenced before assignment
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=579288