From: Richard Heck Date: Fri, 9 Apr 2010 19:03:46 +0000 (+0000) Subject: Mark new files dirty. Otherwise, you can't save them, and maybe you want X-Git-Tag: 2.0.0~3498 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=84be7c89b341e6d5dea48c4c504328127f428c2c;p=lyx.git Mark new files dirty. Otherwise, you can't save them, and maybe you want to do that right away. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34107 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/buffer_funcs.cpp b/src/buffer_funcs.cpp index c3f41c18ae..a54fc52779 100644 --- a/src/buffer_funcs.cpp +++ b/src/buffer_funcs.cpp @@ -148,6 +148,7 @@ Buffer * newFile(string const & filename, string const & templatename, b->setReadonly(false); b->setFullyLoaded(true); + b->markDirty(); return b; }