Mercurial > libervia-web
changeset 491:c97fe4059f71
browser side: fixes NS_ERROR_FAILURE while opening microblog panels (bug from rev 442 - changeset 17259c2ff96f in MicroblogPanel.refresh)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 26 Jun 2014 08:25:30 +0200 |
parents | c4d6d1254ec1 |
children | a7f5448a1bc3 |
files | src/browser/sat_browser/base_panels.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/sat_browser/base_panels.py Thu Jun 26 08:10:30 2014 +0200 +++ b/src/browser/sat_browser/base_panels.py Thu Jun 26 08:25:30 2014 +0200 @@ -604,6 +604,6 @@ SimpleTextEditor.edit(self, edit, abort, sync) def setFocus(self, focus): - if focus: + if focus and self.isAttached(): self.textarea.setCursorPos(len(self.textarea.getText())) self.textarea.setFocus(focus)