]> 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:43:24 +0000 (15:43 +0200)
commit7dfca01f48bdd178be872341391b109e20c5e3d4
tree2ca47dd0f6d4819c7f83ab3e967864a8c39f4e56
parentd475caf27819313a22e13a990de1feae818626f6
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.
(cherry picked from commit 30475664d380474f4ea0666e9aaf006cf22c1c7e)
src/frontends/qt4/GuiView.cpp