Fixed a bug in the APIs configuration page of the config dialog. 5_3_x

Wed, 20 Nov 2013 18:45:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 20 Nov 2013 18:45:58 +0100
branch
5_3_x
changeset 3097
4778daba0f19
parent 3094
f453f3040984
child 3106
bef80f454d39

Fixed a bug in the APIs configuration page of the config dialog.

Preferences/ConfigurationPages/EditorAPIsPage.py file | annotate | diff | comparison | revisions
--- a/Preferences/ConfigurationPages/EditorAPIsPage.py	Tue Nov 19 20:00:01 2013 +0100
+++ b/Preferences/ConfigurationPages/EditorAPIsPage.py	Wed Nov 20 18:45:58 2013 +0100
@@ -104,7 +104,7 @@
             self.__currentAPI.apiPreparationStarted.connect(
                 self.__apiPreparationStarted)
             self.addInstalledApiFileButton.setEnabled(
-                self.__currentAPI.installedAPIFiles() != "")
+                len(self.__currentAPI.installedAPIFiles()) > 0)
         else:
             self.addInstalledApiFileButton.setEnabled(False)
         

eric ide

mercurial