Fixed an issue in the path picker.

Fri, 25 Dec 2015 14:05:52 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Dec 2015 14:05:52 +0100
changeset 4620
49d9c6b58678
parent 4619
aa2319888257
child 4621
b46304716d28

Fixed an issue in the path picker.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Source/eric6.E5Gui.E5PathPicker.html file | annotate | diff | comparison | revisions
E5Gui/E5PathPicker.py file | annotate | diff | comparison | revisions
diff -r aa2319888257 -r 49d9c6b58678 Documentation/Help/source.qch
Binary file Documentation/Help/source.qch has changed
diff -r aa2319888257 -r 49d9c6b58678 Documentation/Source/eric6.E5Gui.E5PathPicker.html
--- a/Documentation/Source/eric6.E5Gui.E5PathPicker.html	Fri Dec 25 14:03:57 2015 +0100
+++ b/Documentation/Source/eric6.E5Gui.E5PathPicker.html	Fri Dec 25 14:05:52 2015 +0100
@@ -536,7 +536,7 @@
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-first path
+last path
 </dd>
 </dl><dl>
 <dt>Return Type:</dt>
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