[pitivi] timeline: Cleanup dropping data on leave if we could not create an element from them
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Cleanup dropping data on leave if we could not create an element from them
- Date: Wed, 16 Sep 2015 17:27:12 +0000 (UTC)
commit 42822488387bb98554e0f011909303ecca1b808a
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Sep 16 19:25:45 2015 +0200
timeline: Cleanup dropping data on leave if we could not create an element from them
Otherwise it break future drag and drops
Fixes T3333
pitivi/timeline/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 0da75a1..e67df1f 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -761,6 +761,8 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
self.draggingElement = None
self.__got_dragged = False
self._createdClips = False
+ else:
+ self.cleanDropData()
def cleanDropData(self):
self.dropDataReady = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]