]> git.lyx.org Git - features.git/commit
Fix dialog interaction with InsetMathRef (leftover from changed
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 6 Apr 2007 08:30:37 +0000 (08:30 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 6 Apr 2007 08:30:37 +0000 (08:30 +0000)
commitea1a4a886cdff7d4f2a97c7308ab9e2da4a80718
tree2d5baccb5d33266c50fd63e0fdacae5ce8ef81d1
parentb59c6f48a5a15688e498fc1cd734d7eb21b92e3a
Fix dialog interaction with InsetMathRef (leftover from changed
InsetCommandParams)

* src/mathed/InsetMathCommand.[Ch]
(CommandInset::createDialogStr): Move to InsetMathRef, since it is
no longer generic.

* src/mathed/MathFactory.C
(createInsetMath_fromDialogStr): Use InsetCommandMailer instead of
manual parsing. This ensures that the syntax is correct.

* src/mathed/InsetMathRef.[Ch]
(InsetMathRef::createDialogStr): Moved here from InsetMathCommand,
but use InsetCommandMailer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17738 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/InsetMathCommand.C
src/mathed/InsetMathCommand.h
src/mathed/InsetMathRef.C
src/mathed/InsetMathRef.h
src/mathed/MathFactory.C