From: Abdelrazak Younes Date: Thu, 19 Jul 2007 07:28:47 +0000 (+0000) Subject: another safe guard. X-Git-Tag: 1.6.10~9100 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=25fc4d091ab433f4c0c4e264a7d44f199fdf4142;p=features.git another safe guard. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19133 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index d96ed513ae..75c48112ea 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -219,7 +219,7 @@ void LyXFunc::initKeySequences(KeyMap * kb) void LyXFunc::setLyXView(LyXView * lv) { - if (lyx_view_ && lyx_view_ != lv) + if (!quitting && lyx_view_ && lyx_view_ != lv) // save current selection to the selection buffer to allow // middle-button paste in another window cap::saveSelection(lyx_view_->view()->cursor());