From: Stephan Witt Date: Sun, 24 Oct 2010 13:26:00 +0000 (+0000) Subject: invalidate vcs data if user cancelled the registrer operation, otherwise the registre... X-Git-Tag: 2.0.0~2284 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6749b1fa0a50c44fe0fd91042de118f21af70a6c;p=features.git invalidate vcs data if user cancelled the registrer operation, otherwise the registrer cannot be called again git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35798 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp index 1306a1d87c..922ecffe9f 100644 --- a/src/LyXVC.cpp +++ b/src/LyXVC.cpp @@ -149,6 +149,7 @@ bool LyXVC::registrer() _("(no initial description)")); if (!ok) { LYXERR(Debug::LYXVC, "LyXVC: user cancelled"); + vcs.reset(0); return false; } if (response.empty())