mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Set the size of an image displayed in LyX correctly, when loading an
old-style figinset. (From Herbert.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3845 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
04e819e4fd
commit
c3144da934
@ -1,3 +1,7 @@
|
||||
2002-03-26 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* insetgraphics.C (figinsetRead): set the right lyxview
|
||||
|
||||
2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* insetgraphicsParams.C (latexify): use \textbackslash in preference to
|
||||
|
@ -486,7 +486,8 @@ void InsetGraphics::readFigInset(LyXLex & lex)
|
||||
if (lex.next())
|
||||
params_.lyxwidth = LyXLength(lex.getString()+"pt");
|
||||
if (lex.next())
|
||||
params_.lyxheight = LyXLength(lex.getString()+"pt");
|
||||
params_.lyxheight = LyXLength(lex.getString()+"pt");
|
||||
params_.lyxsize_type = InsetGraphicsParams::WH;
|
||||
} else if (token == "flags") {
|
||||
if (lex.next())
|
||||
switch (lex.getInteger()) {
|
||||
|
Loading…
Reference in New Issue
Block a user