]> git.lyx.org Git - features.git/commit
Allow an unnamed buffer to be saved with the same name
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 14 May 2012 13:26:51 +0000 (15:26 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 14 May 2012 13:26:51 +0000 (15:26 +0200)
commit30475664d380474f4ea0666e9aaf006cf22c1c7e
tree6f1509216ae20fec40603e66dace744df20a723d
parentd89158df2aaf584f0077a72a755ed54d0ce975db
Allow an unnamed buffer to be saved with the same name

The check whether fname != oldname does not work for unnamed buffers.
Therefore, we check explicitly whether the Buffer that already exists with
the same name isn't really the buffer we are trying to save.
src/frontends/qt4/GuiView.cpp