FormMathsSpace::FormMathsSpace(LyXView * lv, Dialogs * d,
FormMathsPanel const & p)
- : FormMathsSub(lv, d, p, _("Maths Spacing")),
+ : FormMathsSub(lv, d, p, _("Maths Spacing"), false),
space_(-1)
{}
dialog_.reset(build_maths_space());
fl_set_button(dialog_->radio_thin, 1);
+ space_ = 1;
bc().setOK(dialog_->button_ok);
bc().setApply(dialog_->button_apply);
void FormMathsSpace::apply()
{
- if (space_ > 0)
+ if (space_ >= 0)
parent_.insertSymbol(latex_mathspace[space_]);
}