1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:17:46 +00:00

FontEditor: Don't crash on missing icons

Instead of crashing on failed icon loading with TRY(), let's report
missing but non-critical resources in detail and gracefully move on.
This commit is contained in:
thankyouverycool 2023-05-10 17:00:50 -04:00 committed by Andreas Kling
parent ea8bcb2f30
commit 6212e5b1f0
4 changed files with 72 additions and 11 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include "Resources.h"
#include "UndoSelection.h"
#include <LibGUI/ActionGroup.h>
#include <LibGUI/FilteringProxyModel.h>
@ -17,6 +18,8 @@
namespace FontEditor {
extern Resources g_resources;
class GlyphEditorWidget;
class MainWidget final : public GUI::Widget {