Mon, 18 Jan 2010 18:54:11 +0000
Fixed a porting related bug in PluginRepositoryDialog.
PluginManager/PluginRepositoryDialog.py | file | annotate | diff | comparison | revisions |
--- a/PluginManager/PluginRepositoryDialog.py Mon Jan 18 18:02:08 2010 +0000 +++ b/PluginManager/PluginRepositoryDialog.py Mon Jan 18 18:54:11 2010 +0000 @@ -129,10 +129,10 @@ if self.__repositoryMissing or current is None: return - self.urlEdit.setText(current.data(0, urlRole)) - self.descriptionEdit.setPlainText( - self.__formatDescription(current.data(0, descrRole))) - self.authorEdit.setText(current.data(0, authorRole)) + self.urlEdit.setText(current.data(0, urlRole) or "") + self.descriptionEdit.setPlainText(current.data(0, descrRole) and \ + self.__formatDescription(current.data(0, descrRole)) or "") + self.authorEdit.setText(current.data(0, authorRole) or "") def __selectedItems(self): """