[pitivi] clipproperties: Prevent the effect toolbar from showing when reselecting a clip



commit a5e6e36aaef047ece9ca333b5f4df1924aba366f
Author: Meenal-goyal <mnlgoyal17 gmail com>
Date:   Sun Sep 29 23:57:17 2013 +0530

    clipproperties: Prevent the effect toolbar from showing when reselecting a clip

 pitivi/clipproperties.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index 86c855b..732d578 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -428,7 +428,7 @@ class EffectProperties(Gtk.Expander, Loggable):
         self._infobar.hide()
 
     def _treeviewSelectionChangedCb(self, treeview):
-        if self.selection.count_selected_rows() == 0 and self.clips:
+        if self.selection.count_selected_rows() == 0:
             self._toolbar.hide()
         else:
             self._toolbar.show()


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