Browse Source

fixed save on compile

merge-requests/365/head
oyvang 11 years ago
parent
commit
78b2de3924
  1. 4
      juci/window.cc

4
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();

Loading…
Cancel
Save