mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix bug #7983: Do not modify params before we know we have
something valid! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dac462c96b
commit
bed648d0b5
@ -547,7 +547,6 @@ string InsetBox::params2string(InsetBoxParams const & params)
|
||||
|
||||
void InsetBox::string2params(string const & in, InsetBoxParams & params)
|
||||
{
|
||||
params = InsetBoxParams(string());
|
||||
if (in.empty())
|
||||
return;
|
||||
|
||||
@ -572,6 +571,7 @@ void InsetBox::string2params(string const & in, InsetBoxParams & params)
|
||||
"Expected arg 2 to be \"Box\"\n");
|
||||
}
|
||||
|
||||
params = InsetBoxParams(string());
|
||||
params.read(lex);
|
||||
}
|
||||
|
||||
|
@ -170,6 +170,8 @@ What's new
|
||||
|
||||
- Show a message box if the current spell checker has no dictionaries (bug 7884).
|
||||
|
||||
- Fix problem where box gets modifications intended for table (bug 7983).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user