Mercurial > libervia-web
diff src/browser/panels.py @ 462:07433bd892ee
server and browser sides: fixes UI parameters initialisation with user values + small refactoring
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 04 Jun 2014 00:23:14 +0200 |
parents | 4f25aa5039b3 |
children | b62c1cf0dbf7 |
line wrap: on
line diff
--- a/src/browser/panels.py Wed Jun 04 00:22:00 2014 +0200 +++ b/src/browser/panels.py Wed Jun 04 00:23:14 2014 +0200 @@ -79,7 +79,7 @@ def refresh(self): """Enable or disable this panel. Contained widgets are created when necessary.""" - enable = self.host.params_ui['unibox']['value'] + enable = self.host.getUIParam('unibox') self.setVisible(enable) if enable and not self.unibox: self.button = Button('<img src="media/icons/tango/actions/32/format-text-italic.png" class="richTextIcon"/>')