From a4c95c5b3b4199f74781686750ffd0397f22236a Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 10 Jan 2010 15:47:40 +0000 Subject: [PATCH] This patch from Richard was correct. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 0570d8cb2c..e39719f3f6 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2456,7 +2456,8 @@ void GuiView::dispatchVC(FuncRequest const & cmd) break; if (buffer->lyxvc().inUse() && !buffer->isReadonly()) { msg = buffer->lyxvc().checkIn(); - reloadBuffer(); + if (!msg.empty()) + reloadBuffer(); } break;