mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
fix maths crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5754 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c700e9d1d
commit
554b7e2d3e
@ -1,3 +1,8 @@
|
||||
2002-11-30 John Levon <levon@movementarian.org>
|
||||
|
||||
* FormMathsBitmap.C: actually set dialog_->button_close
|
||||
to the added button
|
||||
|
||||
2002-11-30 John Levon <levon@movementarian.org>
|
||||
|
||||
* forms/form_maths_panel.fd: small fix
|
||||
|
@ -107,12 +107,12 @@ void FormMathsBitmap::build()
|
||||
y_ = y_close + 10;
|
||||
|
||||
char const * const label = _("Close|^[");
|
||||
FL_OBJECT * button_close =
|
||||
fdui->button_close =
|
||||
fl_add_button(FL_NORMAL_BUTTON, x_, y_, 90, 30,
|
||||
idex(_(label)).c_str());
|
||||
fl_set_button_shortcut(button_close, scex(_(label)).c_str(), 1);
|
||||
fl_set_object_lsize(button_close, FL_NORMAL_SIZE);
|
||||
fl_set_object_callback(button_close, C_FormBaseCancelCB, 0);
|
||||
fl_set_button_shortcut(fdui->button_close, scex(_(label)).c_str(), 1);
|
||||
fl_set_object_lsize(fdui->button_close, FL_NORMAL_SIZE);
|
||||
fl_set_object_callback(fdui->button_close, C_FormBaseCancelCB, 0);
|
||||
|
||||
fl_end_form();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user