mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Fix crash when running lyx -dbg insets -e
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2282 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8127585050
commit
8ba16dcda3
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
|
* src/insets/figinset.C (RegisterFigure): Print debug message only when
|
||||||
|
current_view is available.
|
||||||
|
|
||||||
2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* config/lyxinclude.m4 (LYX_PATH_XFORMS): do not warn against
|
* config/lyxinclude.m4 (LYX_PATH_XFORMS): do not warn against
|
||||||
|
@ -911,7 +911,7 @@ void RegisterFigure(InsetFig * fi)
|
|||||||
figures.push_back(tmpfig);
|
figures.push_back(tmpfig);
|
||||||
fi->figure = tmpfig;
|
fi->figure = tmpfig;
|
||||||
|
|
||||||
if (lyxerr.debugging()) {
|
if (lyxerr.debugging() && current_view) {
|
||||||
lyxerr << "Register Figure: buffer:["
|
lyxerr << "Register Figure: buffer:["
|
||||||
<< current_view->buffer() << "]" << endl;
|
<< current_view->buffer() << "]" << endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user