mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 07:45:44 +00:00
Herbert's graphics get latex size check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4603 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
86323de88f
commit
0123437d76
@ -1,3 +1,8 @@
|
||||
2002-07-11 Herbert Voss <voss@perce.de>
|
||||
|
||||
* FormGraphics.C (input): test also the height for %-value, when
|
||||
importing the latex-value into the lyx-view
|
||||
|
||||
2002-07-10 Andrew Zabolotny <zap@cobra.ru>
|
||||
|
||||
* XMiniBuffer.C (peek_event):
|
||||
|
@ -544,9 +544,10 @@ ButtonPolicy::SMInput FormGraphics::input(FL_OBJECT * ob, long)
|
||||
setEnabled(lyxview_->choice_lyxheight, 0);
|
||||
setEnabled(lyxview_->input_lyxscale, 1);
|
||||
} else if (ob == lyxview_->button_latex_values) {
|
||||
if (contains(fl_get_choice_text(size_->choice_width),'%'))
|
||||
if (contains(fl_get_choice_text(size_->choice_width),'%') ||
|
||||
contains(fl_get_choice_text(size_->choice_height),'%'))
|
||||
Alert::alert(_("Warning!"),
|
||||
_("The units text%, page%, col% and line% are not allowed here."),
|
||||
_("The %-units are not allowed here."),
|
||||
_("Cannot use the values from LaTeX size!"));
|
||||
else {
|
||||
LyXLength dummy =
|
||||
|
Loading…
Reference in New Issue
Block a user