]> git.lyx.org Git - features.git/commitdiff
This patch from Richard was correct.
authorPavel Sanda <sanda@lyx.org>
Sun, 10 Jan 2010 15:47:40 +0000 (15:47 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 10 Jan 2010 15:47:40 +0000 (15:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 0570d8cb2c02d78aea75e5cd0aa4ebad7e7a0b3b..e39719f3f63be86a2a9b089c1bc14225bc34c495 100644 (file)
@@ -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;