Explorar el Código

Revert "HackStudio: Remove noop code when opening the project"

This reverts commit 012fc3f92317b1f1c96a9829755593463d9630e1.
Andreas Kling hace 4 años
padre
commit
00603d9fd0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Userland/DevTools/HackStudio/HackStudioWidget.cpp

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

@@ -211,6 +211,8 @@ void HackStudioWidget::open_project(const String& root_path)
         debugger.reset_breakpoints();
         debugger.reset_breakpoints();
         debugger.set_source_root(m_project->root_path());
         debugger.set_source_root(m_project->root_path());
     }
     }
+    for (auto& editor_wrapper : m_all_editor_wrappers)
+        editor_wrapper.set_project_root(LexicalPath(m_project->root_path()));
 }
 }
 
 
 Vector<String> HackStudioWidget::selected_file_paths() const
 Vector<String> HackStudioWidget::selected_file_paths() const