[latexila] Document compilation: ensure the files are correctly saved
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Document compilation: ensure the files are correctly saved
- Date: Sun, 5 Feb 2012 15:43:54 +0000 (UTC)
commit 25d0a76eb356d9e32147f7db6357e54bd86a8777
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Sun Feb 5 16:09:56 2012 +0100
Document compilation: ensure the files are correctly saved
Even if I didn't experience the bug, I think it can happen for big
files (the file is not completely saved when the compilation is run).
src/main_window.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 0dce7ce..51f4936 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -1254,6 +1254,9 @@ public class MainWindow : Window
doc.save ();
}
}
+
+ // Ensure that the files are correctly saved before the compilation.
+ Utils.flush_queue ();
}
File main_file = active_document.get_main_file ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]