Corrected some forgotten sort calls.

Sun, 05 Dec 2010 17:59:48 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Dec 2010 17:59:48 +0100
changeset 736
d2433b433793
parent 735
a4bcb3221c9f
child 737
63a55933bdf3

Corrected some forgotten sort calls.

Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Sun Dec 05 17:54:47 2010 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Sun Dec 05 17:59:48 2010 +0100
@@ -100,12 +100,12 @@
         elif type_ == "tags/":
             labelCombo.clear()
             labelCombo.clearEditText()
-            labelCombo.addItems(self.tagsList)
+            labelCombo.addItems(sorted(self.tagsList))
             labelCombo.setEnabled(True)
         elif type_ == "branches/":
             labelCombo.clear()
             labelCombo.clearEditText()
-            labelCombo.addItems(self.branchesList)
+            labelCombo.addItems(sorted(self.branchesList))
             labelCombo.setEnabled(True)
         
     @pyqtSlot(str)
@@ -144,4 +144,4 @@
             url1 = self.labelCombo1.currentText()
             url2 = self.labelCombo2.currentText()
         
-        return [url1, url2], self.summaryCheckBox.isChecked()
\ No newline at end of file
+        return [url1, url2], self.summaryCheckBox.isChecked()
--- a/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 05 17:54:47 2010 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 05 17:59:48 2010 +0100
@@ -99,12 +99,12 @@
         elif type_ == "tags/":
             labelCombo.clear()
             labelCombo.clearEditText()
-            labelCombo.addItems(self.tagsList)
+            labelCombo.addItems(sorted(self.tagsList))
             labelCombo.setEnabled(True)
         elif type_ == "branches/":
             labelCombo.clear()
             labelCombo.clearEditText()
-            labelCombo.addItems(self.branchesList)
+            labelCombo.addItems(sorted(self.branchesList))
             labelCombo.setEnabled(True)
         
     @pyqtSlot(str)
@@ -143,4 +143,4 @@
             url1 = self.labelCombo1.currentText()
             url2 = self.labelCombo2.currentText()
         
-        return [url1, url2], self.summaryCheckBox.isChecked()
\ No newline at end of file
+        return [url1, url2], self.summaryCheckBox.isChecked()

eric ide

mercurial