From: Richard Heck Date: Fri, 8 Jan 2010 14:38:15 +0000 (+0000) Subject: Do not reload on check-in if check-in is cancelled. X-Git-Tag: 2.0.0~4505 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c615a2eeeaecdfb5cfe06c8d4f4fee9e46263fda;p=lyx.git Do not reload on check-in if check-in is cancelled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 401c03f798..c6b8474b99 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2458,7 +2458,8 @@ void GuiView::dispatchVC(FuncRequest const & cmd) break; if (buffer->lyxvc().inUse() && !buffer->isReadonly()) { msg = buffer->lyxvc().checkIn(); - reloadBuffer(); + if (!msg.empty()) + reloadBuffer(); } break;