mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-09 01:56:21 +00:00
HackStudio: Move bulk of GUI logic into HackStudioWidget
Previously, the GUI logic of HackStudio was all stuffed into main(), and it started getting a bit out of hand :)
This commit is contained in:
@@ -126,7 +126,7 @@ public:
|
||||
return m_project.m_file_icon;
|
||||
}
|
||||
if (role == GUI::ModelRole::Font) {
|
||||
if (node->name == g_currently_open_file)
|
||||
if (node->name == currently_open_file())
|
||||
return Gfx::Font::default_bold_font();
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user