From 32a363ded50e8c45ec3b5005a63a655c5ca4e08b Mon Sep 17 00:00:00 2001 From: Matteo Sozzi Date: Sat, 30 Jan 2021 14:56:59 +0100 Subject: [PATCH] HackStudio: removed toggle_index Removed `m_project_tree_view->toggle_index()` when adding new file to project. --- Userland/DevTools/HackStudio/HackStudioWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index 9b14a23a13..227e5feef5 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp +++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp @@ -308,7 +308,6 @@ NonnullRefPtr HackStudioWidget::create_new_action() GUI::MessageBox::show(window(), String::formatted("Failed to create '{}'", filename), "Error", GUI::MessageBox::Type::Error); return; } - m_project_tree_view->toggle_index(m_project_tree_view->model()->index(0, 0)); open_file(filename); }); }