[meld] meldapp: Only apply labels to the first created comparison



commit f0bfe2cda8c36b09dcd44fa77ee99fbbffccfdb1
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Jun 7 08:43:26 2015 +1000

    meldapp: Only apply labels to the first created comparison

 meld/meldapp.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index cc74e59..2ef74f8 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -330,6 +330,9 @@ class MeldApp(Gtk.Application):
             except ValueError as err:
                 error = err
             else:
+                if i > 0:
+                    continue
+
                 if options.label:
                     tab.set_labels(options.label)
 


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