diff --git a/juci/window.cc b/juci/window.cc index ae62171..f8a150f 100644 --- a/juci/window.cc +++ b/juci/window.cc @@ -60,7 +60,7 @@ Window::Window() : Gtk::AccelKey(keybindings_.config_ .key_map()["compile_and_run"]), [this]() { - notebook_.OnSaveFile(); + SaveFile(); if (running.try_lock()) { std::thread execute([=]() { std::string path = notebook_.CurrentPagePath(); @@ -86,7 +86,7 @@ Window::Window() : Gtk::AccelKey(keybindings_.config_ .key_map()["compile"]), [this]() { - notebook_.OnSaveFile(); + SaveFile(); if (running.try_lock()) { std::thread execute([=]() { std::string path = notebook_.CurrentPagePath();