[pitivi] Fix mistake in brother ghostclip updating
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix mistake in brother ghostclip updating
- Date: Wed, 24 Apr 2013 18:03:06 +0000 (UTC)
commit 34e3a607d8d5d89e78e1caa1a5124538327b8fbe
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Thu Apr 18 03:02:14 2013 +0200
Fix mistake in brother ghostclip updating
pitivi/timeline/elements.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 16e1394..dab2a4f 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -495,10 +495,11 @@ class ClipElement(TimelineElement):
self.dragBeginStartX = event_x
self.dragBeginStartY = event_y
+ self.nbrLayers = nbrLayers
self.ghostclip.setNbrLayers(nbrLayers)
self.ghostclip.setWidth(self.props.width)
if self.brother:
- self.ghostclip.setWidth(self.props.width)
+ self.brother.ghostclip.setWidth(self.props.width)
self.brother.ghostclip.setNbrLayers(nbrLayers)
# We can also safely find if the object has a brother element
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]