E5Gui/E5PathPicker.py

changeset 4620
49d9c6b58678
parent 4613
c7951eb9d525
child 4631
5c1a96925da4
diff -r aa2319888257 -r 49d9c6b58678 E5Gui/E5PathPicker.py
--- a/E5Gui/E5PathPicker.py	Fri Dec 25 14:03:57 2015 +0100
+++ b/E5Gui/E5PathPicker.py	Fri Dec 25 14:05:52 2015 +0100
@@ -311,16 +311,16 @@
         @return first path
         @rtype str
         """
-        self.paths()[0]
+        return self.paths()[0]
     
     def lastPath(self):
         """
         Public method to get the last path of a list of entered paths.
         
-        @return first path
+        @return last path
         @rtype str
         """
-        self.paths()[-1]
+        return self.paths()[-1]
     
     def setEditorEnabled(self, enable):
         """

eric ide

mercurial