mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Partial fix for bug #7330 (No error notification with 'View master document')
With this patch, the bug is fixed when export-in-thread is disabled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37842 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
78e483710d
commit
b8cdbc7be8
@ -119,11 +119,12 @@ void GuiErrorList::paramsToDialog()
|
||||
|
||||
ErrorList const & GuiErrorList::errorList() const
|
||||
{
|
||||
if (&bufferview()->buffer() == buf_) {
|
||||
error_list_ = from_master_ ?
|
||||
bufferview()->buffer().masterBuffer()->errorList(error_type_)
|
||||
: bufferview()->buffer().errorList(error_type_);
|
||||
}
|
||||
Buffer const * buffer = from_master_
|
||||
? bufferview()->buffer().masterBuffer()
|
||||
: &bufferview()->buffer();
|
||||
if (buffer == buf_)
|
||||
error_list_ = buffer->errorList(error_type_);
|
||||
|
||||
return error_list_;
|
||||
}
|
||||
|
||||
@ -159,10 +160,6 @@ bool GuiErrorList::goTo(int item)
|
||||
if (err.par_id == -1)
|
||||
return false;
|
||||
|
||||
if (from_master_)
|
||||
// FIXME: implement
|
||||
return false;
|
||||
|
||||
DocIterator dit = buf_->getParFromID(err.par_id);
|
||||
|
||||
if (dit == doc_iterator_end(buf_)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user