Explorar o código

HackStudio: removed toggle_index

Removed `m_project_tree_view->toggle_index()` when adding new file to
project.
Matteo Sozzi %!s(int64=4) %!d(string=hai) anos
pai
achega
32a363ded5
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Userland/DevTools/HackStudio/HackStudioWidget.cpp

+ 0 - 1
Userland/DevTools/HackStudio/HackStudioWidget.cpp

@@ -308,7 +308,6 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_new_action()
             GUI::MessageBox::show(window(), String::formatted("Failed to create '{}'", filename), "Error", GUI::MessageBox::Type::Error);
             GUI::MessageBox::show(window(), String::formatted("Failed to create '{}'", filename), "Error", GUI::MessageBox::Type::Error);
             return;
             return;
         }
         }
-        m_project_tree_view->toggle_index(m_project_tree_view->model()->index(0, 0));
         open_file(filename);
         open_file(filename);
     });
     });
 }
 }