menu_view: remove "failed to construct" message

This error message may occur during the startup of a multi-component
application when the very first dialog is generated just after the menu
view is ready. It is not an error.
This commit is contained in:
Norman Feske 2019-02-24 18:26:53 +01:00 committed by Christian Helmuth
parent 74c31c60c6
commit 90709fc4d3
1 changed files with 5 additions and 8 deletions

View File

@ -203,15 +203,12 @@ void Menu_view::Main::_handle_dialog_update()
_dialog_rom.update();
try {
Xml_node dialog_xml(_dialog_rom.local_addr<char>());
Xml_node dialog = _dialog_rom.xml();
if (dialog.has_type("empty"))
return;
_root_widget.update(dialog_xml);
_root_widget.size(_root_widget_size());
} catch (...) {
Genode::error("failed to construct widget tree");
}
_root_widget.update(dialog);
_root_widget.size(_root_widget_size());
_schedule_redraw = true;