Mercurial > libervia-web
comparison browser_side/panels.py @ 289:20a9aedc60b5
browser_side: double click on unibox do not open the rich text editor anymore
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 10 Dec 2013 09:56:28 +0100 |
parents | 4f0c2fea358a |
children | 89818bca1a33 |
comparison
equal
deleted
inserted
replaced
288:7316a5696366 | 289:20a9aedc60b5 |
---|---|
78 self.unibox = UniBox(host) | 78 self.unibox = UniBox(host) |
79 self.add(self.unibox) | 79 self.add(self.unibox) |
80 self.setCellWidth(self.unibox, '100%') | 80 self.setCellWidth(self.unibox, '100%') |
81 | 81 |
82 self.button.addClickListener(self.openRichTextEditor) | 82 self.button.addClickListener(self.openRichTextEditor) |
83 self.unibox.addDoubleClickListener(self.openRichTextEditor) | |
84 | 83 |
85 def openRichTextEditor(self): | 84 def openRichTextEditor(self): |
86 """Open the rich text editor.""" | 85 """Open the rich text editor.""" |
87 self.button.setVisible(False) | 86 self.button.setVisible(False) |
88 self.unibox.setVisible(False) | 87 self.unibox.setVisible(False) |