Mercurial > libervia-backend
diff sat_frontends/quick_frontend/quick_widgets.py @ 2792:441b536e28ed
quick frontend (chat): use right type in getOrCreateWidget on new message
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 22 Jan 2019 18:52:16 +0100 |
parents | 003b8b4b56a7 |
children | 42380a4f6433 |
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_widgets.py Sun Jan 20 18:20:55 2019 +0100 +++ b/sat_frontends/quick_frontend/quick_widgets.py Tue Jan 22 18:52:16 2019 +0100 @@ -184,13 +184,13 @@ if not "profiles" in _kwargs: _kwargs["profiles"] = None - # on_new_widget tell what to do for the new widget creation + # on_new_widget tells what to do for the new widget creation try: on_new_widget = _kwargs.pop("on_new_widget") except KeyError: on_new_widget = C.WIDGET_NEW - # on_existing_widget tell what to do when the widget already exists + # on_existing_widget tells what to do when the widget already exists try: on_existing_widget = _kwargs.pop("on_existing_widget") except KeyError: