[pitivi] timeline: Reset dragDropReady when leaving the timeline



commit 68842174c7a1fe93f772ab91d549ec9ae4371061
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Sep 4 12:33:50 2015 +0200

    timeline: Reset dragDropReady when leaving the timeline
    
    Otherwise would reuse the old context when drag and dropping again

 pitivi/timeline/timeline.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 762479a..b114b25 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -752,6 +752,7 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
         if self.draggingElement:
             self.__last_clips_on_leave = [(clip.get_layer(), clip)
                                           for clip in self.current_group.get_children(False)]
+            self.dropDataReady = False
             if self._createdClips:
                 clips = self.current_group.get_children(False)
                 self.resetSelectionGroup()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]