* copy&paste fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31292 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-09-05 15:12:51 +00:00
parent 2ebb97758c
commit 9f4bd2eb42

View File

@ -1318,7 +1318,7 @@ bool GuiApplication::notify(QObject * receiver, QEvent * event)
this->exit(1);
case BufferException: {
if (current_view_->documentBufferView())
if (!current_view_->documentBufferView())
return false;
Buffer * buf = &current_view_->documentBufferView()->buffer();
docstring details = e.details_ + '\n';