Preferences/ConfigurationPages/EditorAPIsPage.py

changeset 3020
542e97d4ecb3
parent 3010
befeff46ec0f
child 3025
67064c71df21
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
178 if ok: 178 if ok:
179 self.apiList.addItem(Utilities.toNativeSeparators( 179 self.apiList.addItem(Utilities.toNativeSeparators(
180 QFileInfo(QDir(installedAPIFilesPath), file) 180 QFileInfo(QDir(installedAPIFilesPath), file)
181 .absoluteFilePath())) 181 .absoluteFilePath()))
182 else: 182 else:
183 E5MessageBox.warning(self, 183 E5MessageBox.warning(
184 self,
184 self.trUtf8("Add from installed APIs"), 185 self.trUtf8("Add from installed APIs"),
185 self.trUtf8("""There are no APIs installed yet.""" 186 self.trUtf8("""There are no APIs installed yet."""
186 """ Selection is not available.""")) 187 """ Selection is not available."""))
187 self.addInstalledApiFileButton.setEnabled(False) 188 self.addInstalledApiFileButton.setEnabled(False)
188 189

eric ide

mercurial