mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Disable this assertion for now, and replace it with
some messages. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30715 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d0e5bcf22d
commit
35b4e73a11
@ -279,7 +279,11 @@ string insetName(InsetCode c)
|
||||
|
||||
void Inset::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
{
|
||||
LASSERT(cur.buffer() == &buffer(), return);
|
||||
if (buffer_ == 0) {
|
||||
lyxerr << "Unassigned buffer_ member in Inset::dispatch()" << std::endl;
|
||||
lyxerr << "LyX Code: " << lyxCode() << " name: " << insetName(lyxCode()) << std::endl;
|
||||
} else if (cur.buffer() != buffer_)
|
||||
lyxerr << "cur.buffer() != buffer_ in Inset::dispatch()" << std::endl;
|
||||
cur.updateFlags(Update::Force | Update::FitCursor);
|
||||
cur.dispatched();
|
||||
doDispatch(cur, cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user