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:
parent
74c31c60c6
commit
90709fc4d3
|
@ -203,15 +203,12 @@ void Menu_view::Main::_handle_dialog_update()
|
||||||
|
|
||||||
_dialog_rom.update();
|
_dialog_rom.update();
|
||||||
|
|
||||||
try {
|
Xml_node dialog = _dialog_rom.xml();
|
||||||
Xml_node dialog_xml(_dialog_rom.local_addr<char>());
|
if (dialog.has_type("empty"))
|
||||||
|
return;
|
||||||
|
|
||||||
_root_widget.update(dialog_xml);
|
_root_widget.update(dialog);
|
||||||
|
_root_widget.size(_root_widget_size());
|
||||||
_root_widget.size(_root_widget_size());
|
|
||||||
} catch (...) {
|
|
||||||
Genode::error("failed to construct widget tree");
|
|
||||||
}
|
|
||||||
|
|
||||||
_schedule_redraw = true;
|
_schedule_redraw = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user