ignore error when notes are not implemented on contacts
This commit is contained in:
parent
cbe5b3a47d
commit
5dc9c8a2d4
1 changed files with 3 additions and 0 deletions
|
|
@ -372,6 +372,9 @@ class ContactNotes(QWidget):
|
||||||
self.ui.textEdit.setText(data)
|
self.ui.textEdit.setText(data)
|
||||||
|
|
||||||
def _getNotes_eb(self, backend, error, backtrace):
|
def _getNotes_eb(self, backend, error, backtrace):
|
||||||
|
if isinstance(error, NotImplementedError):
|
||||||
|
return
|
||||||
|
|
||||||
self.ui.textEdit.setEnabled(True)
|
self.ui.textEdit.setEnabled(True)
|
||||||
self.ui.saveButton.setEnabled(True)
|
self.ui.saveButton.setEnabled(True)
|
||||||
content = unicode(self.tr('Unable to load notes:\n%s\n')) % to_unicode(error)
|
content = unicode(self.tr('Unable to load notes:\n%s\n')) % to_unicode(error)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue