mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
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();
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user