From 25fc4d091ab433f4c0c4e264a7d44f199fdf4142 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 19 Jul 2007 07:28:47 +0000 Subject: [PATCH] another safe guard. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19133 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.2