From: Pavel Sanda Date: Sun, 10 Jan 2010 15:47:40 +0000 (+0000) Subject: This patch from Richard was correct. X-Git-Tag: 2.0.0~4449 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a4c95c5b3b4199f74781686750ffd0397f22236a;p=features.git This patch from Richard was correct. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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;