Browse Source

On save, closes file before reading last_write_time

merge-requests/382/head
eidheim 8 years ago
parent
commit
3e84deb2c2
  1. 1
      src/source.cc

1
src/source.cc

@ -397,6 +397,7 @@ bool Source::View::save() {
output << get_buffer()->get_text(start_iter, end_iter).c_str();
start_iter=end_iter;
}
output.close();
boost::system::error_code ec;
last_write_time=boost::filesystem::last_write_time(file_path, ec);
if(ec)

Loading…
Cancel
Save