Browse Source

New C++ project: update directories after build is created

merge-requests/365/head
eidheim 10 years ago
parent
commit
24e05e4907
  1. 1
      src/window.cc

1
src/window.cc

@ -222,6 +222,7 @@ void Window::set_menu_actions() {
if(filesystem::write(cmakelists_path, cmakelists) && filesystem::write(cpp_main_path, cpp_main)) { if(filesystem::write(cmakelists_path, cmakelists) && filesystem::write(cpp_main_path, cpp_main)) {
Directories::get().open(project_path); Directories::get().open(project_path);
notebook.open(cpp_main_path); notebook.open(cpp_main_path);
Directories::get().update();
Terminal::get().print("C++ project "+project_name+" created.\n"); Terminal::get().print("C++ project "+project_name+" created.\n");
} }
else else

Loading…
Cancel
Save