mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +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:
parent
606c0e1672
commit
e3e5e57fde
11 changed files with 1165 additions and 775 deletions
|
@ -175,7 +175,7 @@ void Locator::update_suggestions()
|
|||
{
|
||||
auto typed_text = m_textbox->text();
|
||||
Vector<String> suggestions;
|
||||
g_project->for_each_text_file([&](auto& file) {
|
||||
project().for_each_text_file([&](auto& file) {
|
||||
if (file.name().contains(typed_text))
|
||||
suggestions.append(file.name());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue