mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
another safe guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ad91d27c28
commit
25fc4d091a
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user