From 0ed988f05a6ea72fdebb7ed776b524018f3c6c1f Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 31 Jul 2015 11:26:46 +0200 Subject: [PATCH] Now displays error message if one could not save file. --- src/notebook.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notebook.cc b/src/notebook.cc index 2884d32..32c07cf 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -98,6 +98,7 @@ bool Notebook::save(int page) { return true; } } + Singleton::terminal()->print("Error: could not save file " +view->file_path+"\n"); return false; }