mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Another bugfix from Herbert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3542 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c4458da683
commit
9e5716b3d0
@ -1,3 +1,7 @@
|
|||||||
|
2002-02-14 Herbert Voss <voss@lyx.org>
|
||||||
|
|
||||||
|
* xforms_helpers.h: fix bug with "?%" units
|
||||||
|
|
||||||
2002-02-14 Rob Lahaye <lahaye@users.sourceforge.net>
|
2002-02-14 Rob Lahaye <lahaye@users.sourceforge.net>
|
||||||
* forms/form_graphics.fd:
|
* forms/form_graphics.fd:
|
||||||
* form_graphics.C: minor layout changes, such as stretching all
|
* form_graphics.C: minor layout changes, such as stretching all
|
||||||
|
@ -285,7 +285,8 @@ void updateWidgetsFromLength(FL_OBJECT * input, FL_OBJECT * choice,
|
|||||||
ostringstream buffer;
|
ostringstream buffer;
|
||||||
buffer << len.value();
|
buffer << len.value();
|
||||||
fl_set_input(input, buffer.str().c_str());
|
fl_set_input(input, buffer.str().c_str());
|
||||||
fl_set_choice_text(choice, stringFromUnit(len.unit()));
|
fl_set_choice_text(choice,
|
||||||
|
subst(stringFromUnit(len.unit()),"%","%%").c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user